ocfs2: remove redundant ocfs2_alloc_dinode_update_counts() and ocfs2_block_group_set_...
authorYounger Liu <liuyiyang@hisense.com>
Tue, 21 Jan 2014 23:48:33 +0000 (15:48 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 22 Jan 2014 00:19:42 +0000 (16:19 -0800)
commit0a2fcd8988ac682f443fd5b0a7c48154a7b42ef2
treec9042d7694c14088e6c2d2004c32b3dd835625d9
parentc994c2ebdbbc391a42f177c8eb7882ebf3f142d8
ocfs2: remove redundant ocfs2_alloc_dinode_update_counts() and ocfs2_block_group_set_bits()

ocfs2_alloc_dinode_update_counts() and ocfs2_block_group_set_bits() are
already provided in suballoc.c.  So, the same functions in
move_extents.c are not needed any more.

Declare the functions in suballoc.h and remove redundant functions in
move_extents.c.

Signed-off-by: Younger Liu <liuyiyang@hisense.com>
Cc: Younger Liu <younger.liucn@gmail.com>
Cc: Mark Fasheh <mfasheh@suse.com>
Cc: Joel Becker <jlbec@evilplan.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/ocfs2/move_extents.c
fs/ocfs2/suballoc.c
fs/ocfs2/suballoc.h