summaryrefslogtreecommitdiffstats
path: root/libglusterfsclient/src
diff options
context:
space:
mode:
authorRaghavendra G <raghavendra@gluster.com>2009-11-18 01:17:36 +0000
committerAnand V. Avati <avati@dev.gluster.com>2009-11-18 21:14:41 -0800
commit8d22d68815fbd27e7ef1b4b2f5bb70c3d82ddb96 (patch)
treed00e57a068e74e6aef99c75b73927d6ab7061f0e /libglusterfsclient/src
parent134d85015b0251ddc079678e1e0997cb41d0516b (diff)
libglusterfsclient: fix __do_path_resolve to return zero if the path happens to be resolved in path_to_parenti.
Signed-off-by: Raghavendra G <raghavendra@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 369 (Samba does not work with booster.) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=369
Diffstat (limited to 'libglusterfsclient/src')
-rw-r--r--libglusterfsclient/src/libglusterfsclient-dentry.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libglusterfsclient/src/libglusterfsclient-dentry.c b/libglusterfsclient/src/libglusterfsclient-dentry.c
index c6c154564..24273bb86 100644
--- a/libglusterfsclient/src/libglusterfsclient-dentry.c
+++ b/libglusterfsclient/src/libglusterfsclient-dentry.c
@@ -338,6 +338,7 @@ __do_path_resolve (loc_t *loc, libglusterfs_client_ctx_t *ctx,
}
}
+ op_ret = 0;
out:
loc->inode = inode;
loc->parent = parent;