Document that ceph_get_stripe_unit_granularity may return an error code
(e.g. -ENOTCONN). The interface requires a mount, but currently we
return a compile-time constant. Other error codes may be possible in the
future.
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
/**
* Get the file layout stripe unit granularity.
* @param cmount the ceph mount handle.
- * @returns the stripe unit granularity.
+ * @returns the stripe unit granularity or a negative error code on failure.
*/
int ceph_get_stripe_unit_granularity(struct ceph_mount_info *cmount);