summaryrefslogtreecommitdiffstats
path: root/api/src/glfs-resolve.c
diff options
context:
space:
mode:
authorJose A. Rivera <jarrpa@redhat.com>2014-02-06 14:19:43 -0600
committerAnand Avati <avati@redhat.com>2014-02-08 11:21:52 -0800
commitff28179310c761a77210f1294cd2db70555fdad8 (patch)
tree56f8c42ce50c5b5d7e117029b1ea9db77ea008bf /api/src/glfs-resolve.c
parentf32e00692e2dd2b375c95d26f69529d48d1d2a80 (diff)
libgfapi: Don't ignore return value of glfs_loc_touchup()
BUG: 789278 CID: 1124353 Change-Id: I7d2958cbc98faf45d723f17868c515762c50c618 Signed-off-by: Jose A. Rivera <jarrpa@redhat.com> Reviewed-on: http://review.gluster.org/6931 Reviewed-by: Shyamsundar Ranganathan <srangana@redhat.com> Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Anand Avati <avati@redhat.com>
Diffstat (limited to 'api/src/glfs-resolve.c')
-rw-r--r--api/src/glfs-resolve.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/src/glfs-resolve.c b/api/src/glfs-resolve.c
index c88330aa48e..0ad9ce723c8 100644
--- a/api/src/glfs-resolve.c
+++ b/api/src/glfs-resolve.c
@@ -450,7 +450,7 @@ glfs_resolve_at (struct glfs *fs, xlator_t *subvol, inode_t *at,
ret = 0;
}
- glfs_loc_touchup (loc);
+ ret = glfs_loc_touchup (loc);
out:
GF_FREE (path);