ext[234]: cleanup ext[234]_bg_num_gdb()
authorAkinobu Mita <akinobu.mita@gmail.com>
Wed, 6 Feb 2008 09:40:17 +0000 (01:40 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 6 Feb 2008 18:41:21 +0000 (10:41 -0800)
commit859cb93679929edb88642414bf37789ea263bc47
tree3dcc640e2d1fcd7b661336efcd22ef4d3104bb03
parentfb01bfdac733f1925561eea52c60072f2fbcdc97
ext[234]: cleanup ext[234]_bg_num_gdb()

Use ext[234]_bg_has_super() to remove duplicate code.

Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Cc: <linux-ext4@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/ext2/balloc.c
fs/ext3/balloc.c
fs/ext4/balloc.c