diff options
author | Raghavendra Bhat <raghavendrabhat@gluster.com> | 2012-02-29 23:23:54 +0530 |
---|---|---|
committer | Vijay Bellur <vijay@gluster.com> | 2012-02-29 21:36:16 -0800 |
commit | 6c4b8d02db7b47d67a306a71a72bcc016fbdf183 (patch) | |
tree | 16d8aba53fc25be319125c31dbb6db092e4ebefc /xlators/cluster | |
parent | 70fb696abd6144199bc08b05d403daaca314c7b4 (diff) |
mgmt/glusterd: do not close the same fd twice
In volfile generation part, if the close on the file stream for
the volfile fails, then we should not again close the same file
stream which may lead to undefined behavior.
Change-Id: Idec00955eea11d5b2ea74574f8d4e53fa80c220a
BUG: 798599
Signed-off-by: Raghavendra Bhat <raghavendrabhat@gluster.com>
Reviewed-on: http://review.gluster.com/2843
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Vijay Bellur <vijay@gluster.com>
Diffstat (limited to 'xlators/cluster')
0 files changed, 0 insertions, 0 deletions