Barclay Jameson
2014-10-10 16:22:12 UTC
When reading code for libcephfs.cc (giant branch) it wasn't apparent
to me for the lines 95 and lines 101 what the return values was
expected from the function calls init and mount other than 0.
It was only after tracing a bit of code did I see that error code such
as: -ENOENT and -EEXIST could be returned as well.
It would be awesome if comments were added for these functions to show
what the expected return values are going to be for these functions.
Thanks,
almightybeeij
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to ***@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
to me for the lines 95 and lines 101 what the return values was
expected from the function calls init and mount other than 0.
It was only after tracing a bit of code did I see that error code such
as: -ENOENT and -EEXIST could be returned as well.
It would be awesome if comments were added for these functions to show
what the expected return values are going to be for these functions.
Thanks,
almightybeeij
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to ***@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html