path: root/xlators/protocol/client/src/client-handshake.c
diff options
authorSheetal Pamecha <>2019-08-19 15:27:57 +0530
committerAmar Tumballi <>2019-09-12 08:02:34 +0000
commit61d438e73857776a1f96a7334f56b132275a587b (patch)
tree17f3fa5bb186097fd67dc21c2c1ba2e23e25dbab /xlators/protocol/client/src/client-handshake.c
parentda76f7bbef4d311775a5f75c96a54785170a1727 (diff)
libgfapi: return correct errno on invalid volume name
glfs_init when called with volume name prefixed by '/' sets errno to 0. Setting errno to EINVAL to resolve the issue. Also volname is a parameter to glfs_new. Thus, validating volname in glfs_new itself and returning EINVAL from that function fixes: bz#1507896 Change-Id: I0d4d2423e26cc07644d50ec8cce788ecc639203d Signed-off-by: Sheetal Pamecha <>
Diffstat (limited to 'xlators/protocol/client/src/client-handshake.c')
0 files changed, 0 insertions, 0 deletions