summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmar Tumballi <amarts@redhat.com>2013-09-16 14:24:54 +0530
committerAnand Avati <avati@redhat.com>2013-09-20 11:46:48 -0700
commit9905b562a3d4b508f83123e43574e8087651b357 (patch)
treea67297abd50bce6742632be50bb61f2c0fb6c542
parentd702e702e7248da63449b714507010bb3ef1072d (diff)
geo-replication: treat MKNOD also as regular file create
Change-Id: Iec04f642282b554a4d1b5f5c8cdc099fd001b3f4 Original-Author: Venky Shankar <vshankar@redhat.com> Signed-off-by: Amar Tumballi <amarts@redhat.com> BUG: 847839 Reviewed-on: http://review.gluster.org/5949 Reviewed-by: Venky Shankar <vshankar@redhat.com> Tested-by: Gluster Build System <jenkins@build.gluster.com>
-rw-r--r--geo-replication/syncdaemon/resource.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/geo-replication/syncdaemon/resource.py b/geo-replication/syncdaemon/resource.py
index 2583a03cad6..faf62f868c7 100644
--- a/geo-replication/syncdaemon/resource.py
+++ b/geo-replication/syncdaemon/resource.py
@@ -509,7 +509,7 @@ class Server(object):
time.sleep(1)
else:
break
- elif op == 'CREATE':
+ elif op in ['CREATE', 'MKNOD']:
blob = entry_pack_reg(gfid, bname, e['stat'])
elif op == 'MKDIR':
blob = entry_pack_mkdir(gfid, bname, e['stat'])