ocfs2: Change ocfs2_get_*_extent_tree() to ocfs2_init_*_extent_tree()
authorJoel Becker <joel.becker@oracle.com>
Fri, 22 Aug 2008 19:46:09 +0000 (12:46 -0700)
committerMark Fasheh <mfasheh@suse.com>
Mon, 13 Oct 2008 23:57:05 +0000 (16:57 -0700)
commit8d6220d6a74a33552cf877bcea25503d7f6a59e6
tree2c3f662c55ab4a0a22989c06edf0d027387bfbed
parent1625f8ac151743e452ec062c2989669c508ffa48
ocfs2: Change ocfs2_get_*_extent_tree() to ocfs2_init_*_extent_tree()

The original get/put_extent_tree() functions held a reference on
et_root_bh.  However, every single caller already has a safe reference,
making the get/put cycle irrelevant.

We change ocfs2_get_*_extent_tree() to ocfs2_init_*_extent_tree().  It
no longer gets a reference on et_root_bh.  ocfs2_put_extent_tree() is
removed.  Callers now have a simpler init+use pattern.

Signed-off-by: Joel Becker <joel.becker@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/xattr.c