xfs: use metadir for quota inodes
authorDarrick J. Wong <djwong@kernel.org>
Mon, 4 Nov 2024 04:19:37 +0000 (20:19 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 5 Nov 2024 21:38:45 +0000 (13:38 -0800)
commite80fbe1ad8eff7d7d1363e14f1e493d84dd37c84
treee3157ead7ad78d3031696445875d7beda09893e8
parentfc23a426ce6e417b5bd2839c79f3a12b54ddc304
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