]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: teach get_bmapx about shared extents and the CoW fork
authorDarrick J. Wong <darrick.wong@oracle.com>
Mon, 3 Oct 2016 16:11:41 +0000 (09:11 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Wed, 5 Oct 2016 23:26:26 +0000 (16:26 -0700)
commitf1553baf9198997a804b4fd09fb1de18f46d1a99
treede3c66007de5a958a867f13f64e567f4d0db5a5a
parent68beffa1b9b114a7da5b8fcc1bd36d653aecfd32
xfs: teach get_bmapx about shared extents and the CoW fork

Teach xfs_getbmapx how to report shared extents and CoW fork contents
accurately in the bmap output by querying the refcount btree
appropriately.

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