From: Noah Watkins Date: Thu, 27 Dec 2012 23:54:26 +0000 (-0800) Subject: libcephfs: document ERANGE rv for get_file_pool_name X-Git-Tag: v0.57~100^2~2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=352652b65f9f08efc3b646dbc3262646c1c5d2d4;p=ceph.git libcephfs: document ERANGE rv for get_file_pool_name Signed-off-by: Noah Watkins --- diff --git a/src/include/cephfs/libcephfs.h b/src/include/cephfs/libcephfs.h index 63e9233d9da..7b04cce4270 100644 --- a/src/include/cephfs/libcephfs.h +++ b/src/include/cephfs/libcephfs.h @@ -851,7 +851,7 @@ int ceph_get_file_pool(struct ceph_mount_info *cmount, int fh); * @param fh the open file descriptor referring to the file * @param buf buffer to store the name in * @param buflen size of the buffer - * @returns length in bytes of the pool name + * @returns length in bytes of the pool name, or -ERANGE if the buffer is not large enough. */ int ceph_get_file_pool_name(struct ceph_mount_info *cmount, int fh, char *buf, size_t buflen);