Details
-
Improvement
-
Resolution: Fixed
-
Minor
-
None
-
None
-
None
-
9223372036854775807
Description
right now it's pretty random. Sometimes the APIs return -errno, sometimes they set errno and return -1.
Typical examples are llapi_fswap_layouts_grouplock() and llapi_layout_get_by_fd(). I would say the funnier one is llapi_open_by_fid() where llapi_search_mounts() return error code but llapi_open_by_fid() itself returns -1 as if the errno has been set.