From 119109e95268061d9a68c09972302c35a1b22201 Mon Sep 17 00:00:00 2001 From: Soumya Koduri Date: Wed, 4 Jun 2014 18:40:00 +0530 Subject: libgfapi: Fixed an issue with healing files during glfs_resolve While resolving any path during the first lookup, libgfapi should generate and send gfid as well along with the new inode created to the syncop_lookup(..) so that POSIX translator can heal the files with missing gfid using the new gfid passed. This wasn't happening correctly in the current "glfs_resolve_component(..)" implementation. Fixed the same. Also have added the changes from http://review.gluster.org/5337 in libgfapi, which is a fix to unlink the inode on revalidate if entry not found. In addition to the above, have cleaned up a redundant gfapi log mesage. Change-Id: I0757dda782d16ba6bdbe7ebdbde9c43381229b0a BUG: 1116854 Signed-off-by: Soumya Koduri Reviewed-on: http://review.gluster.org/7976 Tested-by: Gluster Build System Reviewed-by: Poornima G Reviewed-by: Raghavendra G Reviewed-by: Vijay Bellur --- api/src/glfs-mgmt.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'api/src/glfs-mgmt.c') diff --git a/api/src/glfs-mgmt.c b/api/src/glfs-mgmt.c index bac51ceee59..3a428c9d95a 100644 --- a/api/src/glfs-mgmt.c +++ b/api/src/glfs-mgmt.c @@ -362,8 +362,6 @@ done: memcpy (volid, fs->vol_uuid, uuid_size); - gf_log (THIS->name, GF_LOG_INFO, "volume uuid: %s", volid); - return uuid_size; } -- cgit