summaryrefslogtreecommitdiffstats
path: root/libglusterfs
diff options
context:
space:
mode:
authorRaghavendra Bhat <raghavendrabhat@gluster.com>2011-10-27 23:13:43 +0530
committerVijay Bellur <vijay@gluster.com>2011-10-28 04:14:56 -0700
commitb9d94056e555c2386cee3344db23518a47970a97 (patch)
tree09013709517fd550301c1847db2181324ad0ac63 /libglusterfs
parent3b0eecb53f3a061016d277f862d54e15d2646bd6 (diff)
check the return value of inode_path for less than or equal to zero
Change-Id: I9bbdfe79664c1339b66819a6c7ea4b7698beb5c6 BUG: 3757 Reviewed-on: http://review.gluster.com/640 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Amar Tumballi <amar@gluster.com>
Diffstat (limited to 'libglusterfs')
-rw-r--r--libglusterfs/src/inode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libglusterfs/src/inode.c b/libglusterfs/src/inode.c
index 70bf5224700..0b923dcb283 100644
--- a/libglusterfs/src/inode.c
+++ b/libglusterfs/src/inode.c
@@ -1039,7 +1039,7 @@ inode_path (inode_t *inode, const char *name, char **bufp)
if ((inode->ino != 1) &&
(i == 0)) {
- gf_log (table->name, GF_LOG_WARNING,
+ gf_log_callingfn (table->name, GF_LOG_WARNING,
"no dentry for non-root inode %"PRId64": %s",
inode->ino, uuid_utoa (inode->gfid));
ret = -ENOENT;