summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src/inode.h
diff options
context:
space:
mode:
authorRaghavendra G <raghavendra@gluster.com>2011-06-14 01:41:11 +0000
committerAnand Avati <avati@gluster.com>2011-06-14 22:37:30 -0700
commit72d56ff2a8bd0eacfa8036f7583fc0dd4de460d0 (patch)
tree836276c76bcc5753c7064b8956031325fd13e714 /libglusterfs/src/inode.h
parent837f172e8775c908cb90c14a956ed010d468a0ad (diff)
libglusterfs/inode.c: Add version of inode_path which can be called holding inode->lock.
Signed-off-by: Raghavendra G <raghavendra@gluster.com> Signed-off-by: Anand Avati <avati@gluster.com> BUG: 1059 (enhancements for getting statistics from performance translators) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1059
Diffstat (limited to 'libglusterfs/src/inode.h')
-rw-r--r--libglusterfs/src/inode.h3
1 files changed, 3 insertions, 0 deletions
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);