From d4f872b5ed4c086da658804d97a83575fd640f76 Mon Sep 17 00:00:00 2001 From: David Disseldorp Date: Wed, 8 Jan 2020 15:02:18 +0100 Subject: [PATCH] libcephfs: fix documentation for ceph_seekdir offset The offset should be a value returned by telldir, not seekdir. Signed-off-by: David Disseldorp --- src/include/cephfs/libcephfs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.39.5