commit | 982dd30ce87d5fdfb9a6de5732633f31b3840090 | [log] [tgz] |
---|---|---|
author | Theodore Ts'o <tytso@mit.edu> | Thu Apr 23 01:27:07 2009 -0400 |
committer | Theodore Ts'o <tytso@mit.edu> | Thu Apr 23 01:27:07 2009 -0400 |
tree | 3dd6967e3b49e0db39d99626e4bcdf472f0a7fc3 | |
parent | 69d0edfd01ef81efd9f880231999975582ea8b60 [diff] |
e2fsck: Reduce unnecessary I/O when checking backup superblock E2fsck needs to check to see if the backup superblock differs from the primary superblock. Previously it was doing so by calling ext2fs_open(), which does a lot of unnecessary work, including reading all of the backup block group descriptors. Avoid this by reading in the backup superblock directly. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>