Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | libgfapi: return correct errno on invalid volume name | Sheetal Pamecha | 2019-09-12 | 1 | -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> |