From: David Disseldorp Date: Wed, 8 Jan 2020 14:02:18 +0000 (+0100) Subject: libcephfs: fix documentation for ceph_seekdir offset X-Git-Tag: v15.1.0~261^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F32548%2Fhead;p=ceph.git libcephfs: fix documentation for ceph_seekdir offset The offset should be a value returned by telldir, not seekdir. Signed-off-by: David Disseldorp --- diff --git a/src/include/cephfs/libcephfs.h b/src/include/cephfs/libcephfs.h index 974b59907319a..a94d20bc07b70 100644 --- a/src/include/cephfs/libcephfs.h +++ b/src/include/cephfs/libcephfs.h @@ -615,7 +615,7 @@ int64_t ceph_telldir(struct ceph_mount_info *cmount, struct ceph_dir_result *dir * @param cmount the ceph mount handle to use for performing the seekdir. * @param dirp the directory stream pointer to move. * @param offset the position to move the directory stream to. This offset should be - * a value returned by seekdir. Note that this value does not refer to the nth + * a value returned by telldir. Note that this value does not refer to the nth * entry in a directory, and can not be manipulated with plus or minus. */ void ceph_seekdir(struct ceph_mount_info *cmount, struct ceph_dir_result *dirp, int64_t offset);