]> git.baikalelectronics.ru Git - kernel.git/commit
ocfs2: Wrap up the common use cases of ocfs2_new_path().
authorJoel Becker <joel.becker@oracle.com>
Sat, 18 Oct 2008 05:32:01 +0000 (22:32 -0700)
committerMark Fasheh <mfasheh@suse.com>
Mon, 5 Jan 2009 16:40:31 +0000 (08:40 -0800)
commit897efea58f250b7f2d832894b61e4f9796ca7b48
treea49a65968158fde60129d7d614a7f66e5ac44cdf
parentf55182ec810ca346e743863fc11e9a9292fd3448
ocfs2: Wrap up the common use cases of ocfs2_new_path().

The majority of ocfs2_new_path() calls are:

ocfs2_new_path(path_root_bh(otherpath),
       path_root_el(otherpath));

Let's call that ocfs2_new_path_from_path().  The rest do similar things
from struct ocfs2_extent_tree.  Let's call those
ocfs2_new_path_from_et().  This will make the next change easier.

Signed-off-by: Joel Becker <joel.becker@oracle.com>
Signed-off-by: Mark Fasheh <mfasheh@suse.com>
fs/ocfs2/alloc.c