]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commit
e2fsck: fix hang in readahead code if last block in fs is metadata
authorTheodore Ts'o <tytso@mit.edu>
Thu, 28 Jun 2018 15:10:58 +0000 (11:10 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 28 Jun 2018 15:10:58 +0000 (11:10 -0400)
commit73b69a891e5460771672cc28fbc685a329f07be4
tree6c436eae0d16c11b584290def8bcd8663a9ef2ba
parent722b9ca4cac7edc4304e2ecd7d3992e051125b33
e2fsck: fix hang in readahead code if last block in fs is metadata

If the last block the file system is metadata (very rare, but it can
happen, especially if e2fsck needs to relocate a bitmap block), e2fsck
will hang while trying to do readahead.

This problem was reported by Adam Buchbinder.

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