diff options
author | Kotresh H R <khiremat@redhat.com> | 2014-08-04 15:33:02 +0530 |
---|---|---|
committer | Venky Shankar <vshankar@redhat.com> | 2014-08-04 04:38:29 -0700 |
commit | 51394183e94ac0be70fcf22793b2040ba3f0b918 (patch) | |
tree | 6447fb5fb2a98d7aaa3189ae1b825ec6a983818b /xlators/features | |
parent | 6ff2fd2e05c35562cf9505b95d191ee7fe001823 (diff) |
geo-rep/libgfchangelog: Support of symlinks while creation of working dir.
In gf_changelog_register, enable symlink support while creating
working directory if its not already created.
Change-Id: I4b81762d04f5276a65087d2ff94f2a36dc504b58
BUG: 1125843
Signed-off-by: Kotresh H R <khiremat@redhat.com>
Reviewed-on: http://review.gluster.org/8409
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Tested-by: Venky Shankar <vshankar@redhat.com>
Diffstat (limited to 'xlators/features')
-rw-r--r-- | xlators/features/changelog/lib/src/gf-changelog.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/features/changelog/lib/src/gf-changelog.c b/xlators/features/changelog/lib/src/gf-changelog.c index 5586580a748..f3f6ffbe976 100644 --- a/xlators/features/changelog/lib/src/gf-changelog.c +++ b/xlators/features/changelog/lib/src/gf-changelog.c @@ -465,7 +465,7 @@ gf_changelog_register (char *brick_path, char *scratch_dir, gfc->gfc_fd = gfc->gfc_sockfd = -1; if (stat (scratch_dir, &buf) && errno == ENOENT) { - ret = mkdir_p (scratch_dir, 0600, _gf_false); + ret = mkdir_p (scratch_dir, 0600, _gf_true); if (ret) { errn = errno; goto cleanup; |