summaryrefslogtreecommitdiffstats
path: root/xlators/features/Makefile.am
diff options
context:
space:
mode:
authorKotresh HR <khiremat@redhat.com>2015-04-30 12:02:28 +0530
committerVijay Bellur <vbellur@redhat.com>2015-05-02 02:30:49 -0700
commit3fe0c3c50eba9b64ebdd2abf0e8491d87078a440 (patch)
tree8e40ba6eb335ad9d87c569445c63250161acae62 /xlators/features/Makefile.am
parent4d118cb5ee99b8401d70678fc3b3576ad938999d (diff)
geo-rep: Fix minor bugs in meta-volume setup
1. Access unreferenced access of fd: In meta volume configuration for geo-rep, if geo-rep directory is not created yet, open fails with no fd, but it is accessed in close(fd). So after creating 'geo-rep' directory in meta-volume, open the lock file to get fd. 2. Fix volume_id in forming lock file name. For the very first time, gconf.volume_id would be null, as config is not reloaded yet. Hence, use 'uuid' function to get the volume id. Change-Id: I8381ab7a44bc800df25d596218466641c10937a4 BUG: 1210344 Signed-off-by: Kotresh HR <khiremat@redhat.com> Reviewed-on: http://review.gluster.org/10458 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Aravinda VK <avishwan@redhat.com> Tested-by: NetBSD Build System
Diffstat (limited to 'xlators/features/Makefile.am')
0 files changed, 0 insertions, 0 deletions