]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfb10eb5d5b8c894151b55593078695d0b3bac020
tree4122955d6116b4622185c2ff26f9e756567f9afa
parent68b660a8bc23ec9945ce4d4e9a68c2b7a4b0dc43
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