diff options
author | Andreas Gruenbacher <[email protected]> | 2024-06-03 18:45:00 +0200 |
---|---|---|
committer | Andreas Gruenbacher <[email protected]> | 2024-06-07 22:36:16 +0200 |
commit | de0d95c26c41c1776e4d23b1a8b3f2bcfd1dae5f (patch) | |
tree | 4b124a391c7148d12b5fddb5b98c51b66e250cd9 /tools/testing/selftests/bpf/progs/test_autoload.c | |
parent | 51316523d1f233c1cea182d4cccbc3b22ef75d87 (diff) |
gfs2: Check quota consistency on mount
In gfs2_quota_init(), make sure that the per-node "quota_change%u" file
doesn't contain duplicate uids/gids. Those duplicates would cause us to
acquire the glock corresponding to those ids repeatedly, which the glock
code doesn't allow.
When finding inconsistencies, we wipe them out and ignore them. The
resulting quotas will likely be inconsistent, and running quotacheck(1)
is advised.
Signed-off-by: Andreas Gruenbacher <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions