diff options
author | Darrick J. Wong <darrick.wong@oracle.com> | 2014-08-10 18:46:53 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2014-08-10 18:46:53 -0400 |
commit | 52b0c6e6c9b2497f5d749bf30e6bc632aa45e6cb (patch) | |
tree | f13d05fbd220d2d3c186616a217a7d5999453833 /e2fsck/problem.h | |
parent | 3a748dfc1cc28878b5c0ffc1042c3efb3d26360e (diff) | |
download | e2fsprogs-52b0c6e6c9b2497f5d749bf30e6bc632aa45e6cb.tar.gz |
e2fsck: check inline dir size is a multiple of 4
Directory entries must have a size that's a multiple of 4; therefore
the inline directory structure must also have a size that is a muliple
of 4. Since e2fsck doesn't check this, we should check that now.
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'e2fsck/problem.h')
-rw-r--r-- | e2fsck/problem.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/e2fsck/problem.h b/e2fsck/problem.h index 22c86c5c..e901c8e4 100644 --- a/e2fsck/problem.h +++ b/e2fsck/problem.h @@ -906,6 +906,12 @@ struct problem_context { /* dir leaf node passes checks, but fails checksum */ #define PR_2_LEAF_NODE_ONLY_CSUM_INVALID 0x02004D +/* bad inline directory size */ +#define PR_2_BAD_INLINE_DIR_SIZE 0x02004E + +/* fixing inline dir size failed */ +#define PR_2_FIX_INLINE_DIR_FAILED 0x02004F + /* * Pass 3 errors */ |