]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ocfs2: remove redundant ocfs2_alloc_dinode_update_counts() and ocfs2_block_group_set_...
authorYounger Liu <liuyiyang@hisense.com>
Wed, 15 Jan 2014 05:54:35 +0000 (16:54 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 15 Jan 2014 05:54:35 +0000 (16:54 +1100)
commit1f18b8d29ae604370481f7261aa600bd06ef4c2e
tree560d92ae5ba7a444a7a46ef6847f48a305f3bc3c
parentbb785f53c3b08b64d212331d9b14840a511ece17
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>
fs/ocfs2/move_extents.c
fs/ocfs2/suballoc.c
fs/ocfs2/suballoc.h