ocfs2: use ocfs2_alloc_dinode_update_counts() instead of open coding
authorMark Fasheh <mfasheh@suse.com>
Fri, 13 Aug 2010 22:15:16 +0000 (15:15 -0700)
committerTao Ma <tao.ma@oracle.com>
Wed, 8 Sep 2010 06:25:58 +0000 (14:25 +0800)
commitd51349829c378c06ba4aa7d4b16ca23739858608
tree972c0087222f803e7789a44e40e27585790333bf
parent021960cab320ae3cc4e9aba9cca42f9f5ce785f3
ocfs2: use ocfs2_alloc_dinode_update_counts() instead of open coding

ocfs2_search_chain() makes the same updates as
ocfs2_alloc_dinode_update_counts to the alloc inode. Instead of open coding
the bitmap update, use our helper function.

Signed-off-by: Mark Fasheh <mfasheh@suse.com>
Signed-off-by: Tao Ma <tao.ma@oracle.com>
fs/ocfs2/suballoc.c