OSDN Git Service

libext2fs: use ext2fs_group_first_block() instead of open-coded equivalent
authorValerie Clement <valerie.clement@bull.net>
Thu, 30 Aug 2007 15:31:36 +0000 (17:31 +0200)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 14 Oct 2007 22:52:01 +0000 (18:52 -0400)
commit3bfca9a499af9f72a2b22ff0d92bcc8686904e8e
tree1db5a34600b0a68f2db59d04658f1671fa8e79d5
parenteac91b35372c9affff6953165f34fe246272bef9
libext2fs: use ext2fs_group_first_block() instead of open-coded equivalent

Use ext2fs_group_first_block() instead of the open-coded equivalent in
ext2fs_super_and_bgd_loc() and ext2fs_descriptor_block_loc().

Signed-off-by: Valerie Clement <valerie.clement@bull.net>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
lib/ext2fs/closefs.c
lib/ext2fs/openfs.c