diff options
author | Christoph Hellwig <hch@lst.de> | 2016-11-24 01:39:44 +0100 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2016-11-24 01:39:44 +0100 |
commit | 65c5f419788d623a0410eca1866134f5e4628594 (patch) | |
tree | 7b4d2c91663af5d6b89a6ca3c265693a73b66bc0 /fs/xfs/xfs_iomap.c | |
parent | xfs: use new extent lookup helpers in __xfs_bunmapi (diff) | |
download | linux-65c5f419788d623a0410eca1866134f5e4628594.tar.xz linux-65c5f419788d623a0410eca1866134f5e4628594.zip |
xfs: remove prev argument to xfs_bmapi_reserve_delalloc
We can easily lookup the previous extent for the cases where we need it,
which saves the callers from looking it up for us later in the series.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'fs/xfs/xfs_iomap.c')
-rw-r--r-- | fs/xfs/xfs_iomap.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/xfs/xfs_iomap.c b/fs/xfs/xfs_iomap.c index 436e109bb01e..59ffcac8a47d 100644 --- a/fs/xfs/xfs_iomap.c +++ b/fs/xfs/xfs_iomap.c @@ -622,8 +622,7 @@ xfs_file_iomap_begin_delay( retry: error = xfs_bmapi_reserve_delalloc(ip, XFS_DATA_FORK, offset_fsb, - end_fsb - offset_fsb, &got, - &prev, &idx, eof); + end_fsb - offset_fsb, &got, &idx, eof); switch (error) { case 0: break; |