Whamcloud - gitweb
e2fsck: fix error in computing blocks of the ending group
authorYongqiang Yang <xiaoqiangnk@gmail.com>
Fri, 16 Sep 2011 13:25:51 +0000 (09:25 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 16 Sep 2011 13:28:44 +0000 (09:28 -0400)
commit32318ff20f848a18d39e22c93ca06d5444651cd1
tree6979ae13083fc89838fb8a5ebc0cd62b0d5d5f8d
parent98f4547198b369bef7e41eb7ce4a16855726c393
e2fsck: fix error in computing blocks of the ending group

If the blocks of a filesystem is a multiple of blocks_per_group,
blocks of the ending group is computed wrongly.  Use the
new ext2fs_group_blocks_count() helper instead.

Eric Sandeen: Converted to use new blocks per group helper

Signed-off-by: Yongqiang Yang <xiaoqiangnk@gmail.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
e2fsck/pass5.c