Whamcloud - gitweb
e2fsck: return more status if fsck aborts
authorEric Sandeen <sandeen@redhat.com>
Tue, 1 Nov 2011 07:32:28 +0000 (07:32 +0000)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 20 Nov 2011 20:56:11 +0000 (15:56 -0500)
commit13dcce8bb46961fcab14e87343e25aaebef7f44c
treef267404ab6705081b605983857a88c9d6bfba659
parent9c23b8961205f30d29c4137f4833f78cc48ce3fb
e2fsck: return more status if fsck aborts

If we abort fsck (due to ENOMEM for example) we exit
with only the FSCK_ERROR flag.  It seems useful
to do the same sorts of checks as we do on normal
exit, and return whether the filesystem was modified,
whether there are still uncorrected errors, etc, even
in the abort case.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
e2fsck/util.c