]> www.infradead.org Git - users/hch/xfs.git/commit
xfs: use metadir for quota inodes
authorDarrick J. Wong <djwong@kernel.org>
Tue, 15 Oct 2024 19:39:28 +0000 (12:39 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 5 Nov 2024 21:36:17 +0000 (13:36 -0800)
commitabf13a3b4156191761c321154cd679c20a009c9c
treee3157ead7ad78d3031696445875d7beda09893e8
parent7d76e6ce1cc0c6e3dc634cf03d556a9866e0d0ae
xfs: use metadir for quota inodes

Store the quota inodes in the /quota metadata directory if metadir is
enabled.  This enables us to stop using the sb_[ugp]uotino fields in the
superblock.  From this point on, all metadata files will be children of
the metadata directory tree root.

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