diff options
author | Theodore Ts'o <tytso@mit.edu> | 1998-02-27 05:03:48 +0000 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 1998-02-27 05:03:48 +0000 |
commit | 2df1f6aa071e09527d1767e0d5178f29b4e9a73c (patch) | |
tree | dec0cb5455811de9275fcdc9604d9d7915434d64 /e2fsck/e2fsck.h | |
parent | 6b57f0163ebab63da2d22a27f27aba4f46ca9418 (diff) | |
download | e2fsprogs-2df1f6aa071e09527d1767e0d5178f29b4e9a73c.tar.gz |
ChangeLog, e2fsck.c, e2fsck.h, pass1.c:
e2fsck.c (e2fsck_run): Since E2F_FLAG_SIGNAL_MASK doesn't
include EXT2_FLAG_RESTART anymore, we need to adjust this
routine so that it *does* return in the case of it seeing
EXT2_FLAG_RESTART.
pass1.c (e2fsck_pass1): ext2_get_next_inode() may call the group done
callback function, which may set context abort flags. So we need to
test the context abort flags after we call ext2_get_next_inode().
(process_inodes): If we abort due out of process_inodes, do a clean
exit by breaking out of the for loop instead of just returning.
e2fsck.h (E2F_FLAG_SIGNAL_MASK): EXT2_FLAG_RESTART shouldn't be
considered a SIGNAL mask (i.e., requiring an immediate abort of
processing to restart). FLAG_RESTART just means that we want to
restart once pass 1 is complete.
Diffstat (limited to 'e2fsck/e2fsck.h')
-rw-r--r-- | e2fsck/e2fsck.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/e2fsck/e2fsck.h b/e2fsck/e2fsck.h index ca08fe39..b8ac30ce 100644 --- a/e2fsck/e2fsck.h +++ b/e2fsck/e2fsck.h @@ -95,8 +95,8 @@ struct resource_track { */ #define E2F_FLAG_ABORT 0x0001 /* Abort signaled */ #define E2F_FLAG_CANCEL 0x0002 /* Cancel signaled */ +#define E2F_FLAG_SIGNAL_MASK 0x0003 #define E2F_FLAG_RESTART 0x0004 /* Restart signaled */ -#define E2F_FLAG_SIGNAL_MASK 0x000F #define E2F_FLAG_SETJMP_OK 0x0010 /* Setjmp valid for abort */ |