From 72d56ff2a8bd0eacfa8036f7583fc0dd4de460d0 Mon Sep 17 00:00:00 2001 From: Raghavendra G Date: Tue, 14 Jun 2011 01:41:11 +0000 Subject: libglusterfs/inode.c: Add version of inode_path which can be called holding inode->lock. Signed-off-by: Raghavendra G Signed-off-by: Anand Avati BUG: 1059 (enhancements for getting statistics from performance translators) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1059 --- libglusterfs/src/inode.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libglusterfs/src/inode.h') diff --git a/libglusterfs/src/inode.h b/libglusterfs/src/inode.h index 375ff3ee4e5..7eea0c5a389 100644 --- a/libglusterfs/src/inode.h +++ b/libglusterfs/src/inode.h @@ -152,6 +152,9 @@ inode_find (inode_table_t *table, uuid_t gfid); int inode_path (inode_t *inode, const char *name, char **bufp); +int +__inode_path (inode_t *inode, const char *name, char **bufp); + inode_t * inode_from_path (inode_table_t *table, const char *path); -- cgit