summaryrefslogtreecommitdiff
path: root/e2fsck/problem.h
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2017-07-22 16:08:25 -0400
committerTheodore Ts'o <tytso@mit.edu>2017-07-22 17:43:17 -0400
commitd202f46d81c6ca8a0dbce2053cf8114bd68a3ddc (patch)
tree2cf673d588d33b72aaa878333aa5dc017d4a943b /e2fsck/problem.h
parent277552890a8833d999a8e80c0fd55dd99075a254 (diff)
downloade2fsprogs-d202f46d81c6ca8a0dbce2053cf8114bd68a3ddc.tar.gz
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>
Diffstat (limited to 'e2fsck/problem.h')
-rw-r--r--e2fsck/problem.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/e2fsck/problem.h b/e2fsck/problem.h
index d291e26c..c949547d 100644
--- a/e2fsck/problem.h
+++ b/e2fsck/problem.h
@@ -279,6 +279,9 @@ struct problem_context {
/* Bad desired extra isize in superblock */
#define PR_0_BAD_WANT_EXTRA_ISIZE 0x00004E
+/* Invalid quota inode number */
+#define PR_0_INVALID_QUOTA_INO 0x00004F
+
/*
* Pass 1 errors