OSDN Git Service

xfs: use xfs_bmap_del_extent_delay for the data fork as well
authorChristoph Hellwig <hch@lst.de>
Tue, 17 Oct 2017 21:16:21 +0000 (14:16 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Thu, 26 Oct 2017 22:38:20 +0000 (15:38 -0700)
commite1d7553faf3979df83a168ea4732f6f5255972a2
tree6052b55e9079811161b27fe1220313e024545fdb
parent8280f6ed4645549154103da9f037ceb4f7c733b4
xfs: use xfs_bmap_del_extent_delay for the data fork as well

And remove the delalloc code from xfs_bmap_del_extent, which gets renamed
to xfs_bmap_del_extent_real to fit the naming scheme used by the other
xfs_bmap_{add,del}_extent_* routines.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
fs/xfs/libxfs/xfs_bmap.c