]> www.infradead.org Git - users/hch/xfsprogs.git/commit
xfs: only skip rmap owner checks for unknown-owner rmap removal libxfs-4.15-sync
authorDarrick J. Wong <darrick.wong@oracle.com>
Wed, 3 Jan 2018 19:42:11 +0000 (13:42 -0600)
committerEric Sandeen <sandeen@redhat.com>
Wed, 3 Jan 2018 19:42:11 +0000 (13:42 -0600)
commit19f9a63a35cb286318d54827e6c3a36d3e4eea7e
tree86423e5f5d5d59c3f158fbb25c4a343198b1bc0b
parent3ee858aa6c10e8705fa309f6c68ec6d0932707fc
xfs: only skip rmap owner checks for unknown-owner rmap removal

Source kernel commit: 68c58e9b9a88c1a9d0c2eaf6c7acefb00f5fbbfb

For rmap removal, refactor the rmap owner checks into a separate
function, then skip the checks if we are performing an unknown-owner
removal.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
libxfs/xfs_rmap.c