ocfs2: move tree path functions to alloc.h.
authorTao Ma <tao.ma@oracle.com>
Tue, 18 Aug 2009 03:22:34 +0000 (11:22 +0800)
committerJoel Becker <joel.becker@oracle.com>
Wed, 23 Sep 2009 03:09:32 +0000 (20:09 -0700)
commite2e9f6082b5ff099978774d5c0148e062344c2f9
tree1da7dc993c77ca08cb83aba8f21e0da9fd055044
parentfe924415957e60471536762172d127e85519ef78
ocfs2: move tree path functions to alloc.h.

Now fs/ocfs2/alloc.c has more than 7000 lines. It contains our
basic b-tree operation. Although we have already make our b-tree
operation generic, the basic structrue ocfs2_path which is used
to iterate one b-tree branch is still static and limited to only
used in alloc.c. As refcount tree need them and I don't want to
add any more b-tree unrelated code to alloc.c, export them out.

Signed-off-by: Tao Ma <tao.ma@oracle.com>
fs/ocfs2/alloc.c
fs/ocfs2/alloc.h