Whamcloud - gitweb
e2fsck: Fix check for hidden quota files
authorAditya Kali <adityakali@google.com>
Tue, 24 Apr 2012 18:36:42 +0000 (14:36 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 24 Apr 2012 18:36:42 +0000 (14:36 -0400)
commitec7686e3e723ac8644a48ade6b58a1ca8dab6599
tree4c4a0e376a3237032adec63440b365038afc3d8b
parent1d520184ee1a809f0a41566eed80ccf64b39ed1a
e2fsck: Fix check for hidden quota files

Currently e2fsck always incorrectly detects that quota inodes
need to be hidden (even if they are already hidden) and
modifies the superblock unnecessarily. This patch fixes the
check for hidden quota files and avoids modifying the
filesystem if quota inodes are already hidden.
Also, zero-out the old quota inode so that next fsck scan
doesn't complain.

Signed-off-by: Aditya Kali <adityakali@google.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
e2fsck/problem.c
e2fsck/quota.c