Whamcloud - gitweb
e2fsck: Set i_blocks_hi when correcting the i_blocks field in pass #1
authorTheodore Ts'o <tytso@mit.edu>
Sat, 25 Sep 2010 02:57:06 +0000 (22:57 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sat, 25 Sep 2010 02:57:06 +0000 (22:57 -0400)
commitb70506bffba208daa2dc176be9370bc198ecd221
tree9ef2307b0eb66ebe6b1b5ba09a0595b291e91640
parent9d92a201deec7bbb1911e6e5ee98abf3c83882d4
e2fsck: Set i_blocks_hi when correcting the i_blocks field in pass #1

For file systems with 64-bit block numbers, we need to make sure we
correct the i_blocks_hi field as well as the i_blocks field when
setting it to the correct value.

Thanks to Justin Maggard for pointing this out.

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