diff options
author | Raghavendra Bhat <raghavendra@redhat.com> | 2012-10-18 14:42:16 +0530 |
---|---|---|
committer | Vijay Bellur <vbellur@redhat.com> | 2012-10-19 08:24:14 -0400 |
commit | acd958ed5ea5e100ea141ff670e68022a3752d7f (patch) | |
tree | f230a0144e845ad2f0b6d8717d3a27e12d8167c0 /xlators | |
parent | e5fc29c264397e3c76262b2cff9a4516fd4c6475 (diff) |
core/statedump: dump the information in a temporary file and
then rename
Change-Id: Id35fd5b3801f46db75660a26d1f3011883c293a7
BUG: 852041
Signed-off-by: Raghavendra Bhat <raghavendra@redhat.com>
Reviewed-on: https://code.engineering.redhat.com/gerrit/120
Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Tested-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'xlators')
-rw-r--r-- | xlators/mgmt/glusterd/src/glusterd-utils.c | 2 |
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 bf200127330..d8612ba21a0 100644 --- a/xlators/mgmt/glusterd/src/glusterd-utils.c +++ b/xlators/mgmt/glusterd/src/glusterd-utils.c @@ -81,7 +81,7 @@ #define CEILING_POS(X) (((X)-(int)(X)) > 0 ? (int)((X)+1) : (int)(X)) -char *glusterd_sock_dir = "/tmp"; +char *glusterd_sock_dir = "/var/run"; static glusterd_lock_t lock; static void |