Whamcloud - gitweb
e2fsck: fix pass5 optimization for bigalloc file systems
authorTheodore Ts'o <tytso@mit.edu>
Sun, 16 Dec 2012 03:32:23 +0000 (22:32 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 16 Dec 2012 03:32:23 +0000 (22:32 -0500)
commitc7e293251fa28aebb201a884c074f0b36cbacc20
tree2d5119efcb76b0ca612830ba3bffd755953cc1d0
parentd3de1a714f2b22dea03f255de83b99581882f24b
e2fsck: fix pass5 optimization for bigalloc file systems

Commit 53e3120c18 introduced a regression which would case e2fsck to
overrun an array boundary for bigalloc file systems, and most likely
crash.  Fix this by correctly using blocks instead of clusters when
incrementing the loop counter in the fast path optimization case.

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