Whamcloud - gitweb
e2fsck: Fix a number of problems that were inappropriately using PROMPT_ABORT
authorTheodore Ts'o <tytso@mit.edu>
Wed, 12 May 2010 22:58:53 +0000 (18:58 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 12 May 2010 22:58:53 +0000 (18:58 -0400)
commita6217f5ae2ca02f2f12c259b34615cbd7f4110d6
tree9dbf41839371b91dd4d639fa1fc07a3f94432f28
parent1bb14a22b5ea31ce4b9b5d9d8c7e75f02fad77ee
e2fsck: Fix a number of problems that were inappropriately using PROMPT_ABORT

There were a number of problems that were prompting the user whether
or not to ABORT, but then would abort regardless of whether the user
answered yes or no.  Change those to be PROMPT_NONE, PR_FATAL.

Also, fix PR_1_RESIZE_INODE_CREATE so that it recovers appropriately
after failing to create the resize inode.  This problem now uses
PROMPT_CONTINUE instead of PROMPT_ABORT, and if the user says, "no",
the code will abort.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
e2fsck/pass1.c
e2fsck/problem.c
e2fsck/problem.h