summaryrefslogtreecommitdiff
path: root/fs/xfs/xfs_symlink.c
diff options
context:
space:
mode:
authorDarrick J. Wong <djwong@kernel.org>2021-12-15 11:53:16 -0800
committerDarrick J. Wong <djwong@kernel.org>2021-12-15 17:06:27 -0800
commitc731eaadcf432ccb423384a5fb06c24707a22a28 (patch)
treebc30a66a430b91a543bd7df09be22bfd4ad14114 /fs/xfs/xfs_symlink.c
parent4fbb87debe8b8b9d9e978d5957c38822be264bec (diff)
xfs: fix quotaoff mutex usage now that we don't support disabling it
Prior to commit 40b52225e58c ("xfs: remove support for disabling quota accounting on a mounted file system"), we used the quotaoff mutex to protect dquot operations against quotaoff trying to pull down dquots as part of disabling quota. Now that we only support turning off quota enforcement, the quotaoff mutex only protects changes in m_qflags/sb_qflags. We don't need it to protect dquots, which means we can remove it from setqlimits and the dquot scrub code. While we're at it, fix the function that forces quotacheck, since it should have been taking the quotaoff mutex. Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Diffstat (limited to 'fs/xfs/xfs_symlink.c')
0 files changed, 0 insertions, 0 deletions