Whamcloud - gitweb
e2fsck: fix j_maxlen if the file system is exactly 1 << 32 blocks
authorTheodore Ts'o <tytso@mit.edu>
Tue, 3 Dec 2013 03:26:58 +0000 (22:26 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 3 Dec 2013 03:26:58 +0000 (22:26 -0500)
commit27dc24defdadbbb63d4c1ed8b6c06839f77388ef
tree533f387bfcea41f93a66bc036f76f53b7fc9d998
parent15a668c4b57f0d38776a0eac23e884e084a1be87
e2fsck: fix j_maxlen if the file system is exactly 1 << 32 blocks

If the external journal device has exactly 1 << 32 blocks,
journal->j_maxlen would get set to zero, which would cause e2fsck to
declare the journal to be invalid.

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