diff options
author | Theodore Ts'o <tytso@mit.edu> | 2009-08-19 01:06:50 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2009-08-19 01:06:50 -0400 |
commit | 60139154878ebdafd4b372cdcf179c5a957c519d (patch) | |
tree | 236e09a5219f039387bc14164c15df86112568db /e2fsck/problem.h | |
parent | 9a7fe4bdc9725bbf84af0c174c9102e8ac05983c (diff) | |
download | e2fsprogs-60139154878ebdafd4b372cdcf179c5a957c519d.tar.gz |
e2fsck: Add a global latch question for bad group descriptor checksums
Very often all the block group descriptors will have bad checksums, so
don't force the user answer 'yes' many, many times.
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'e2fsck/problem.h')
-rw-r--r-- | e2fsck/problem.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/e2fsck/problem.h b/e2fsck/problem.h index 69dcfba7..f3969e07 100644 --- a/e2fsck/problem.h +++ b/e2fsck/problem.h @@ -38,6 +38,7 @@ struct problem_context { #define PR_LATCH_LOW_DTIME 0x0070 /* Latch for pass1 orphaned list refugees */ #define PR_LATCH_TOOBIG 0x0080 /* Latch for file to big errors */ #define PR_LATCH_OPTIMIZE_DIR 0x0090 /* Latch for optimize directories */ +#define PR_LATCH_BG_CHECKSUM 0x00A0 /* Latch for block group checksums */ #define PR_LATCH(x) ((((x) & PR_LATCH_MASK) >> 4) - 1) @@ -223,6 +224,9 @@ struct problem_context { /* Last write time is in the future (fudged) */ #define PR_0_FUTURE_SB_LAST_WRITE_FUDGED 0x00003D +/* Block group checksum (latch question) */ +#define PR_0_GDT_CSUM_LATCH 0x00003E + /* * Pass 1 errors |