xfs: remove prev argument to xfs_bmapi_reserve_delalloc
authorChristoph Hellwig <hch@lst.de>
Mon, 9 Jan 2017 15:38:42 +0000 (16:38 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 12 Jan 2017 10:39:41 +0000 (11:39 +0100)
commitcf4fb510473b4529a0969b1d0af898b7a844bc36
tree985501dd9d9d76d7bafa561cd64537dd24139c58
parent3903257660338c41c22a2464407c8ff93c42e00b
xfs: remove prev argument to xfs_bmapi_reserve_delalloc

commit 65c5f419788d623a0410eca1866134f5e4628594 upstream.

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>
Cc: Christoph Hellwig <hch@lst.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/xfs/libxfs/xfs_bmap.c
fs/xfs/libxfs/xfs_bmap.h
fs/xfs/xfs_iomap.c
fs/xfs/xfs_reflink.c