Whamcloud - gitweb
e2fsck: if user declines to fix s_inodes_acount, abort
authorTheodore Ts'o <tytso@mit.edu>
Fri, 29 Jun 2018 15:35:58 +0000 (11:35 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 29 Jun 2018 15:35:58 +0000 (11:35 -0400)
commit867ffd4744899297961d952fa10f35225bd455b0
treef636c8bf7d3d42a98aed81a590b9fc7685f5c700
parentcabde4999d1d10b6ace32eaddc99699b91e40551
e2fsck: if user declines to fix s_inodes_acount, abort

A recent commit, d74eb7ef: "e2fsck: handle s_inodes_count corruption
properly" tries to fix s_inodes_count.  However, if the user declines
to fix the invalid s_inodes_count, e2fsck needs to abort since
otherwise we can crash due to the insane s_inodes_count.

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
e2fsck/super.c