summaryrefslogtreecommitdiffstats
path: root/xlators/mgmt/glusterd/src/glusterd-utils.c
diff options
context:
space:
mode:
authorRaghavendra Bhat <raghavendra@redhat.com>2013-12-03 11:12:17 +0530
committerRaghavendra Bhat <raghavendra@redhat.com>2013-12-03 11:14:26 +0530
commit79a2b1997459cf6932e929488b0ade3535b9ced9 (patch)
tree700ee1ab917b9618ee462249bbb2ebe4c4eba138 /xlators/mgmt/glusterd/src/glusterd-utils.c
parent30228525ee04694eb4e2fd367cab6779ffb769dc (diff)
mgmt/glusterd: create pid file for the snap bricks in proper path
Change-Id: I98fcd25e80b1b39e0292eae059e2d624ca9094fb Signed-off-by: Raghavendra Bhat <raghavendra@redhat.com>
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-utils.c')
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-utils.c b/xlators/mgmt/glusterd/src/glusterd-utils.c
index f7b117ba4..557f04d1a 100644
--- a/xlators/mgmt/glusterd/src/glusterd-utils.c
+++ b/xlators/mgmt/glusterd/src/glusterd-utils.c
@@ -1527,7 +1527,7 @@ glusterd_snap_volume_start_glusterfs (glusterd_volinfo_t *volinfo,
priv = this->private;
GF_ASSERT (priv);
- ret = _mk_rundir_p (volinfo);
+ ret = _mk_snap_rundir_p (volinfo, snap_volinfo);
if (ret)
goto out;
GLUSTERD_GET_SNAP_BRICK_PIDFILE (pidfile, volinfo,