ocfs2: Provide convenience function for ino lookup
authorMark Fasheh <mark.fasheh@oracle.com>
Tue, 11 Sep 2007 22:22:06 +0000 (15:22 -0700)
committerMark Fasheh <mark.fasheh@oracle.com>
Fri, 12 Oct 2007 18:54:38 +0000 (11:54 -0700)
A couple paths which needed to just match a parent dir + name pair to an
inode number were a bit messy because they had to deal with
ocfs2_find_files_on_disk() which returns a larger number of values. Provide
a convenience function, ocfs2_lookup_ino_from_name() which internalizes all
the extra accounting.

Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
Reviewed-by: Joel Becker <joel.becker@oracle.com>

No differences found