]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
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)
commitbe94d11704ef79030fd2e6a0c41b4a7f65f9e860
tree10b060625c464db127210acc00e8aa80b43ce6f3
parent0bfbbf62a8b5a129ba2c689283bfece80a601aba
ocfs2: Provide convenience function for ino lookup

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>
fs/ocfs2/dir.c
fs/ocfs2/dir.h
fs/ocfs2/export.c
fs/ocfs2/namei.c
fs/ocfs2/sysfile.c