ocfs2: Make high level btree extend code generic
commit0eb8d47e69a2211a36643b180f1843ef45f6017d
authorTao Ma <tao.ma@oracle.com>
Mon, 18 Aug 2008 09:38:45 +0000 (18 17:38 +0800)
committerMark Fasheh <mfasheh@suse.com>
Mon, 13 Oct 2008 20:57:59 +0000 (13 13:57 -0700)
tree745a063238cbcf6af84644bd51d4bfcd592e06a1
parente7d4cb6bc19658646357eeff134645cd9bc3479f
ocfs2: Make high level btree extend code generic

Factor out the non-inode specifics of ocfs2_do_extend_allocation() into a more generic
function, ocfs2_do_cluster_allocation(). ocfs2_do_extend_allocation calls
ocfs2_do_cluster_allocation() now, but the latter can be used for other
btree types as well.

Signed-off-by: Tao Ma <tao.ma@oracle.com>
Signed-off-by: Mark Fasheh <mfasheh@suse.com>
fs/ocfs2/alloc.c
fs/ocfs2/alloc.h
fs/ocfs2/aops.c
fs/ocfs2/dir.c
fs/ocfs2/file.c
fs/ocfs2/file.h
fs/ocfs2/namei.c