]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
libcephfs: document ERANGE rv for get_file_pool_name
authorNoah Watkins <noahwatkins@gmail.com>
Thu, 27 Dec 2012 23:54:26 +0000 (15:54 -0800)
committerNoah Watkins <noahwatkins@gmail.com>
Thu, 24 Jan 2013 19:33:37 +0000 (11:33 -0800)
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
src/include/cephfs/libcephfs.h

index 63e9233d9da2293034ee0951136e1560f18c31c2..7b04cce4270934e363c4bb4f90031a59cd9fe94e 100644 (file)
@@ -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);