Whamcloud - gitweb
e2fsck: avoid unnecessary close/reopen for non-MMP filesystems
authorTheodore Ts'o <tytso@mit.edu>
Thu, 22 Mar 2012 03:18:49 +0000 (23:18 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 22 Mar 2012 03:18:49 +0000 (23:18 -0400)
commit349b8a37c5077086f1cd57c6b1b13ec275af6a43
tree6a0b6f54f349bf4b4eb05712f28b2906d9791239
parent41cec3498f5991c0e44d977d17fe7a85acc7010a
e2fsck: avoid unnecessary close/reopen for non-MMP filesystems

For file systems that do not use MMP, there's no reason to close the
file system and then re-open the file system a second time, since
EXT2_FLAG_SKIP_MMP has no meaning for non-MMP file systems anyway.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Cc: Andreas Dilger <adilger@whamcloud.com>
e2fsck/unix.c