]> www.infradead.org Git - users/jedix/linux-maple.git/commit
xfs: don't count metadata directory files to quota
authorDarrick J. Wong <djwong@kernel.org>
Mon, 4 Nov 2024 04:18:55 +0000 (20:18 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 5 Nov 2024 21:38:32 +0000 (13:38 -0800)
commit382e275f0e8d09c886ad4cf949e89208463f1ff0
treea4473470d21222b2c1d682e46ff6236d7a77d113
parentdf866c538ff098baa210b407b822818a415a6e7e
xfs: don't count metadata directory files to quota

Files in the metadata directory tree are internal to the filesystem.
Don't count the inodes or the blocks they use in the root dquot because
users do not need to know about their resource usage.  This will also
quiet down complaints about dquot usage not matching du output.

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