fs: xfs: replace BIO_MAX_SECTORS with BIO_MAX_PAGES
authorMing Lei <ming.lei@canonical.com>
Mon, 30 May 2016 13:34:33 +0000 (21:34 +0800)
committerJens Axboe <axboe@fb.com>
Thu, 9 Jun 2016 16:02:47 +0000 (10:02 -0600)
commitc908e38073992053949cedecca9c83b5300bbb3a
tree8673db8914f29fa1364c615552ed0e7209561b96
parent1bdc76aea1159a750846c2fc98e404403eb7d51c
fs: xfs: replace BIO_MAX_SECTORS with BIO_MAX_PAGES

BIO_MAX_PAGES is used as maximum count of bvecs, so
replace BIO_MAX_SECTORS with BIO_MAX_PAGES since
BIO_MAX_SECTORS is to be removed.

Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Ming Lei <ming.lei@canonical.com>
Tested-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
fs/xfs/xfs_buf.c