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>
This commit is contained in:

committed by
Dave Chinner

parent
7efc794561
commit
65c5f41978
@@ -293,7 +293,7 @@ xfs_reflink_reserve_cow(
|
||||
|
||||
retry:
|
||||
error = xfs_bmapi_reserve_delalloc(ip, XFS_COW_FORK, imap->br_startoff,
|
||||
end_fsb - imap->br_startoff, &got, &prev, &idx, eof);
|
||||
end_fsb - imap->br_startoff, &got, &idx, eof);
|
||||
switch (error) {
|
||||
case 0:
|
||||
break;
|
||||
|
Reference in New Issue
Block a user