xfs: factor out a xfs_bmap_is_real_extent helper
authorChristoph Hellwig <hch@lst.de>
Tue, 28 Mar 2017 21:53:35 +0000 (14:53 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Mon, 3 Apr 2017 22:18:16 +0000 (15:18 -0700)
commit9c4f29d39168bb9363189f0d54ee1202372e7d9b
tree4122955d6116b4622185c2ff26f9e756567f9afa
parent696a562072e3c14bcd13ae5acc19cdf27679e865
xfs: factor out a xfs_bmap_is_real_extent helper

This checks for all the non-normal extent types, including handling both
encodings of delayed allocations.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
fs/xfs/libxfs/xfs_bmap.h
fs/xfs/xfs_aops.c
fs/xfs/xfs_bmap_util.c
fs/xfs/xfs_reflink.c