summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--geo-replication/syncdaemon/resource.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/geo-replication/syncdaemon/resource.py b/geo-replication/syncdaemon/resource.py
index 2357b4f914c..c3d31b78698 100644
--- a/geo-replication/syncdaemon/resource.py
+++ b/geo-replication/syncdaemon/resource.py
@@ -525,6 +525,7 @@ class Server(object):
en = e['entry1']
st = lstat(entry)
if isinstance(st, int):
+ (pg, bname) = entry2pb(en)
blob = entry_pack_reg(gfid, bname, e['stat'])
else:
errno_wrap(os.rename, [entry, en], [ENOENT, EEXIST])