summaryrefslogtreecommitdiff
path: root/.clang-format
diff options
context:
space:
mode:
authorDarrick J. Wong <djwong@kernel.org>2021-10-15 09:34:16 -0700
committerDarrick J. Wong <djwong@kernel.org>2021-12-15 17:28:45 -0800
commitccb58d203224902502266e985f59dbe3341232b0 (patch)
tree4bce3a2284c71346385483c6bc5fb3d2816a35ea /.clang-format
parent1b3afb1ef4c05b89f4f8851544489296dd8c7c2f (diff)
xfs: fix quotaoff mutex usage now that we don't support disabling itxfs-5.16-fixes_2021-12-15
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 '.clang-format')
0 files changed, 0 insertions, 0 deletions