diff options
author | Tahsin Erdogan <tahsin@google.com> | 2017-07-04 23:53:59 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2017-07-04 23:53:59 -0400 |
commit | 5c5685d163374bb3b3f148b696aec50b3fd82ce4 (patch) | |
tree | ca80dca82c44344c13b496edc6200b5e74d39385 /e2fsck/problem.h | |
parent | b0f457bda89db94456617ee2302421832d6669c1 (diff) | |
download | e2fsprogs-5c5685d163374bb3b3f148b696aec50b3fd82ce4.tar.gz |
e2fsck: track ea_inode references
An extended attribute inode has a ref count to track how many entries
point to it. Update e2fsck to verify that the stored ref count is
correct.
Signed-off-by: Tahsin Erdogan <tahsin@google.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'e2fsck/problem.h')
-rw-r--r-- | e2fsck/problem.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/e2fsck/problem.h b/e2fsck/problem.h index 60cc764f..f30f8f08 100644 --- a/e2fsck/problem.h +++ b/e2fsck/problem.h @@ -20,7 +20,7 @@ struct problem_context { e2_blkcnt_t blkcount; dgrp_t group; __u32 csum1, csum2; - __u64 num; + __u64 num, num2; const char *str; }; @@ -1131,6 +1131,9 @@ struct problem_context { /* Inconsistent inode count information cached */ #define PR_4_INCONSISTENT_COUNT 0x040004 +/* Extended attribute inode ref count wrong */ +#define PR_4_EA_INODE_REF_COUNT 0x040005 + /* * Pass 5 errors */ |