diff options
author | Eric Sandeen <sandeen@redhat.com> | 2014-04-14 19:00:29 +1000 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2014-04-14 19:00:29 +1000 |
commit | a96c41519ac95bd7e8c798d235d6c98ca846090a (patch) | |
tree | 3afc13de8fa3b983a5e7c200cca37cb3e306d39e /fs/xfs/xfs_buf.c | |
parent | 0d7409b142472dda73939add752e0815900b3df9 (diff) | |
download | blackbird-op-linux-a96c41519ac95bd7e8c798d235d6c98ca846090a.tar.gz blackbird-op-linux-a96c41519ac95bd7e8c798d235d6c98ca846090a.zip |
xfs: remove unused blocksize arg from xfs_setsize_buftarg()
Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'fs/xfs/xfs_buf.c')
-rw-r--r-- | fs/xfs/xfs_buf.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/fs/xfs/xfs_buf.c b/fs/xfs/xfs_buf.c index 107f2fdfe41f..6638bf1f3838 100644 --- a/fs/xfs/xfs_buf.c +++ b/fs/xfs/xfs_buf.c @@ -1607,7 +1607,6 @@ xfs_free_buftarg( int xfs_setsize_buftarg( xfs_buftarg_t *btp, - unsigned int blocksize, unsigned int sectorsize) { /* Set up metadata sector size info */ @@ -1642,8 +1641,7 @@ xfs_setsize_buftarg_early( xfs_buftarg_t *btp, struct block_device *bdev) { - return xfs_setsize_buftarg(btp, PAGE_SIZE, - bdev_logical_block_size(bdev)); + return xfs_setsize_buftarg(btp, bdev_logical_block_size(bdev)); } xfs_buftarg_t * |