diff options
author | Theodore Ts'o <tytso@mit.edu> | 1998-09-03 01:26:03 +0000 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 1998-09-03 01:26:03 +0000 |
commit | 7f813ba33711902f5e557da49f98622532e7556d (patch) | |
tree | d26c3e2ef12c61bd5fe57a8ee661aaab589a4233 /e2fsck/problem.h | |
parent | 2eb374c9401079aa56aa12f0047ca3866e69b754 (diff) | |
download | e2fsprogs-7f813ba33711902f5e557da49f98622532e7556d.tar.gz |
ChangeLog, pass3.c, pass4.c, problem.c, problem.h, super.c:
problem.c: Add PR_3_NO_DIRINFO error code.
super.c (check_super_value): Rename min and max to min_val and max_val
to avoid possible cpp macro conflicts.
pass4.c (e2fsck_pass4): Rename max to maxgroup, to avoid possible cpp
macro conflicts.
pass3.c (e2fsck_pass3): Rename max to maxdirs, to avoid possible cpp
macro conflicts.
(check_directory): Fix logic to avoid possible core dump in the
case of ext2fs_get_dir_info returning NULL. (By the time we get here,
it should never happen, but...). Also simply/streamline the control
flow of the function.
Diffstat (limited to 'e2fsck/problem.h')
-rw-r--r-- | e2fsck/problem.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/e2fsck/problem.h b/e2fsck/problem.h index fdc9d2d0..0f16ba68 100644 --- a/e2fsck/problem.h +++ b/e2fsck/problem.h @@ -472,6 +472,9 @@ struct problem_context { /* Cannot proceed without a root inode. */ #define PR_3_NO_ROOT_INODE_ABORT 0x030015 +/* Internal error: couldn't find dir_info */ +#define PR_3_NO_DIRINFO 0x020016 + /* * Pass 4 errors */ |