]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commit - e2fsck/super.c
e2fsck: Don't test the resize_inode if the filesystem is clean
authorTheodore Ts'o <tytso@mit.edu>
Thu, 23 Apr 2009 04:39:06 +0000 (00:39 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 23 Apr 2009 04:39:06 +0000 (00:39 -0400)
commit69d0edfd01ef81efd9f880231999975582ea8b60
treec4a98d5970c5eddf89f3cb6069519034a38bd5c7
parent4e60e06847c781efffc8c43342b7756bbe5cff45
e2fsck: Don't test the resize_inode if the filesystem is clean

Move check_resize_inode() out of check_super_block(), since we only
need to test the resize_inode for correctness only if the filesystem
requires checking.  This change avoids a lot of I/O operations which
slows down a 1 second boot.

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