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)
commitffdd7a54631f07918b75e324d86713a08c11ec06
treea49a65968158fde60129d7d614a7f66e5ac44cdf
parent50655ae9e91d272d48997bada59efe166aa5e343
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