Whamcloud - gitweb
e2fsck: check for invalid quota inode numbers
authorTheodore Ts'o <tytso@mit.edu>
Sat, 22 Jul 2017 20:08:25 +0000 (16:08 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sat, 22 Jul 2017 21:43:17 +0000 (17:43 -0400)
commitd202f46d81c6ca8a0dbce2053cf8114bd68a3ddc
tree2cf673d588d33b72aaa878333aa5dc017d4a943b
parent277552890a8833d999a8e80c0fd55dd99075a254
e2fsck: check for invalid quota inode numbers

If the superblock has invalid inode numbers for the user, group, or
project quota inodes, e2fsck should notice and offer to fix things by
zeroing out the invalid superblock field.

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
e2fsck/e2fsck.h
e2fsck/problem.c
e2fsck/problem.h
e2fsck/quota.c
e2fsck/super.c
tests/f_quota_invalid_inum/expect.1 [new file with mode: 0644]
tests/f_quota_invalid_inum/expect.2 [new file with mode: 0644]
tests/f_quota_invalid_inum/image.gz [new file with mode: 0644]
tests/f_quota_invalid_inum/name [new file with mode: 0644]