summaryrefslogtreecommitdiff
path: root/fs/xfs/xfs_discard.h
diff options
context:
space:
mode:
authorDarrick J. Wong <djwong@kernel.org>2024-08-31 01:37:17 +0300
committerDarrick J. Wong <djwong@kernel.org>2024-09-01 18:58:20 +0300
commit2c4162be6c10d3bc4884c211ae4787fc84c4fe3c (patch)
treef71cc479a13b9b4573c256fa5ff0ecbec83bc781 /fs/xfs/xfs_discard.h
parent2ca7b9d7b80810b2b45b78b8a4b4fa78a1ddc2dd (diff)
downloadlinux-2c4162be6c10d3bc4884c211ae4787fc84c4fe3c.tar.xz
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>
Diffstat (limited to 'fs/xfs/xfs_discard.h')
0 files changed, 0 insertions, 0 deletions