summaryrefslogtreecommitdiffstats
path: root/xlators/features/quota
diff options
context:
space:
mode:
authorvmallika <vmallika@redhat.com>2015-03-02 12:52:22 +0530
committerVijay Bellur <vbellur@redhat.com>2015-03-03 04:51:39 -0800
commit1dc89418ec39929f6f9de448da85966beffeef27 (patch)
tree820f060cc1a2c17a79bf12a36a775318336896c8 /xlators/features/quota
parenta5b02c0d71c7952ebbb24b1075c216cc76761956 (diff)
quota: quotad.socket files should be created under /var/run/gluster
Change-Id: I49502a4f7516c02f7e321c16eebd748545afde07 BUG: 1197587 Signed-off-by: vmallika <vmallika@redhat.com> Reviewed-on: http://review.gluster.org/9778 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'xlators/features/quota')
-rw-r--r--xlators/features/quota/src/quota-enforcer-client.c2
-rw-r--r--xlators/features/quota/src/quotad-aggregator.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/xlators/features/quota/src/quota-enforcer-client.c b/xlators/features/quota/src/quota-enforcer-client.c
index 49279449320..ff4d341cc96 100644
--- a/xlators/features/quota/src/quota-enforcer-client.c
+++ b/xlators/features/quota/src/quota-enforcer-client.c
@@ -361,7 +361,7 @@ quota_enforcer_init (xlator_t *this, dict_t *options)
goto out;
ret = dict_set_str (options, "transport.socket.connect-path",
- "/tmp/quotad.socket");
+ "/var/run/gluster/quotad.socket");
if (ret)
goto out;
diff --git a/xlators/features/quota/src/quotad-aggregator.c b/xlators/features/quota/src/quotad-aggregator.c
index e3b9bdd4af0..f34bdbddd45 100644
--- a/xlators/features/quota/src/quotad-aggregator.c
+++ b/xlators/features/quota/src/quotad-aggregator.c
@@ -361,7 +361,7 @@ quotad_aggregator_init (xlator_t *this)
goto out;
ret = dict_set_str (this->options, "transport.socket.listen-path",
- "/tmp/quotad.socket");
+ "/var/run/gluster/quotad.socket");
if (ret)
goto out;