]> www.infradead.org Git - users/dwmw2/linux.git/commit
xfs: add a xfs_qm_unmount_rt helper
authorChristoph Hellwig <hch@lst.de>
Mon, 4 Nov 2024 04:19:07 +0000 (20:19 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 5 Nov 2024 21:38:36 +0000 (13:38 -0800)
commitcd8d0490825c69e0a44cc6ef5333359eed4bd0c8
treecaa5f23339578740d79ab23fbac11c0ff31846b3
parent9c3cfb9c96eee7f1656ef165e1471e1778510f6f
xfs: add a xfs_qm_unmount_rt helper

RT group enabled file systems fix the bug where we pointlessly attach
quotas to the RT bitmap and summary files.  Split the code to detach the
quotas into a helper, make it conditional and document the differing
behavior for RT group and pre-RT group file systems.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
fs/xfs/xfs_qm.c