commit | 2c4162be6c10d3bc4884c211ae4787fc84c4fe3c | [log] [tgz] |
---|---|---|
author | Darrick J. Wong <djwong@kernel.org> | Fri Aug 30 15:37:17 2024 -0700 |
committer | Darrick J. Wong <djwong@kernel.org> | Sun Sep 01 08:58:20 2024 -0700 |
tree | f71cc479a13b9b4573c256fa5ff0ecbec83bc781 | |
parent | 2ca7b9d7b80810b2b45b78b8a4b4fa78a1ddc2dd [diff] |
xfs: refactor loading quota inodes in the regular case Create a helper function to load quota inodes in the case where the dqtype and the sb quota inode fields correspond. This is true for nearly all the iget callsites in the quota code, except for when we're switching the group and project quota inodes. We'll need this in subsequent patches to make the metadir handling less convoluted. Signed-off-by: Darrick J. Wong <djwong@kernel.org> Reviewed-by: Christoph Hellwig <hch@lst.de>