diff options
author | Eric Sandeen <sandeen@redhat.com> | 2017-01-28 08:24:28 +0100 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2017-01-31 01:32:25 +0100 |
commit | 1dbba0863468f509f3fccb498b34f1b1e24356d9 (patch) | |
tree | 7cdb5cd2ed7ad4999926f71c8a23caad1b5098ce /fs/xfs/xfs_bmap_util.c | |
parent | xfs: fix eofblocks race with file extending async dio writes (diff) | |
download | linux-1dbba0863468f509f3fccb498b34f1b1e24356d9.tar.xz linux-1dbba0863468f509f3fccb498b34f1b1e24356d9.zip |
xfs: remove unused full argument from bmap
The "full" argument was used only by the fiemap formatter,
which is now gone with the iomap updates.
Remove the unused arg.
Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Alex Elder <elder@linaro.org>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'fs/xfs/xfs_bmap_util.c')
-rw-r--r-- | fs/xfs/xfs_bmap_util.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/fs/xfs/xfs_bmap_util.c b/fs/xfs/xfs_bmap_util.c index eb890ed1ed5c..7c3bfafffba8 100644 --- a/fs/xfs/xfs_bmap_util.c +++ b/fs/xfs/xfs_bmap_util.c @@ -787,11 +787,9 @@ xfs_getbmap( xfs_iunlock(ip, XFS_IOLOCK_SHARED); for (i = 0; i < cur_ext; i++) { - int full = 0; /* user array is full */ - /* format results & advance arg */ - error = formatter(&arg, &out[i], &full); - if (error || full) + error = formatter(&arg, &out[i]); + if (error) break; } |