path: root/extras
diff options
authorAtin Mukherjee <>2016-01-19 10:45:22 +0530
committerAtin Mukherjee <>2016-03-02 20:15:59 -0800
commitcdc96d5d4c6247d9b0ca942eeb37338dacfe93ee (patch)
tree855a1f45bae156c9979262496c2721aa9958ad71 /extras
parentf7063e738c16ae89d49968cdf4161792fae5431e (diff)
glusterd: use string comparison for realpath checks in glusterd_is_brickpath_available
Backport of glusterd_is_brickpath_available () used to call realpath() for checking the whether the new brick path matches with the existing ones. The problem with this is if the underlying file system is bad for any one of the existing bricks then realpath() would fail and we wouldn't allow to create the new brick even if it should be allowed. Fix is to use string comparison with having a new field real_path in brickinfo to store the absolute path Change-Id: I1250ea5345f00fca0f6128056ebd08750d604f0a BUG: 1312878 Signed-off-by: Atin Mukherjee <> Reviewed-on: Smoke: Gluster Build System <> NetBSD-regression: NetBSD Build System <> CentOS-regression: Gluster Build System <> Reviewed-by: Jeff Darcy <> Reviewed-on:
Diffstat (limited to 'extras')
0 files changed, 0 insertions, 0 deletions