summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--api/src/glfs-resolve.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/api/src/glfs-resolve.c b/api/src/glfs-resolve.c
index 7a7064c3aa2..7bfd554fe8e 100644
--- a/api/src/glfs-resolve.c
+++ b/api/src/glfs-resolve.c
@@ -318,6 +318,7 @@ glfs_resolve_component (struct glfs *fs, xlator_t *subvol, inode_t *parent,
inode_unlink(loc.inode, loc.parent,
loc.name);
inode_unref (loc.inode);
+ gf_uuid_clear (loc.gfid);
loc.inode = inode_new (parent->table);
if (!loc.inode) {
errno = ENOMEM;