]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
xfs: only skip rmap owner checks for unknown-owner rmap removal
authorDarrick J. Wong <darrick.wong@oracle.com>
Fri, 8 Dec 2017 03:07:55 +0000 (19:07 -0800)
committerDarrick J. Wong <darrick.wong@oracle.com>
Thu, 21 Dec 2017 16:48:38 +0000 (08:48 -0800)
commit68c58e9b9a88c1a9d0c2eaf6c7acefb00f5fbbfb
treedaf03ca2cf5032b1391f85c65cf0a7ed6e16b510
parent33df3a9cf925183a6a169bc3eff2bd0febd1298a
xfs: only skip rmap owner checks for unknown-owner rmap removal

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>
fs/xfs/libxfs/xfs_rmap.c