commit | be94d11704ef79030fd2e6a0c41b4a7f65f9e860 | [log] [tgz] |
---|---|---|
author | Mark Fasheh <mark.fasheh@oracle.com> | Tue Sep 11 15:22:06 2007 -0700 |
committer | Mark Fasheh <mark.fasheh@oracle.com> | Fri Oct 12 11:54:38 2007 -0700 |
tree | 10b060625c464db127210acc00e8aa80b43ce6f3 | |
parent | 0bfbbf62a8b5a129ba2c689283bfece80a601aba [diff] |
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>