summaryrefslogtreecommitdiffstats
path: root/tests/basic/gfapi/bug-1507896.t
Commit message (Collapse)AuthorAgeFilesLines
* libgfapi: return correct errno on invalid volume nameSheetal Pamecha2019-09-121-0/+33
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 <spamecha@redhat.com>