Skip to content
Commit de0d95c2 authored by Andreas Gruenbacher's avatar Andreas Gruenbacher
Browse files

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: default avatarAndreas Gruenbacher <agruenba@redhat.com>
parent 51316523
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment