Skip to content

Commit 92c5ab9

Browse files
committed
libcephfs.h: Fix API documentation for ceph_statxat
flags parameter for ceph_statxat() API is supposed to accept only AT_STATX_DONT_SYNC and AT_SYMLINK_NOFOLLOW. Modify the corresponding documentation to reflect the acceptance of above two flags. Signed-off-by: Anoop C S <anoopcs@cryptolab.net>
1 parent 829f388 commit 92c5ab9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/include/cephfs/libcephfs.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -937,7 +937,7 @@ int ceph_fstatx(struct ceph_mount_info *cmount, int fd, struct ceph_statx *stx,
937937
* @param relpath to the file/directory to get statistics of
938938
* @param stx the ceph_statx struct that will be filled in with the file's statistics.
939939
* @param want bitfield of CEPH_STATX_* flags showing designed attributes
940-
* @param flags bitfield that can be used to set AT_* modifier flags (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC and AT_SYMLINK_NOFOLLOW)
940+
* @param flags bitfield that can be used to set AT_* modifier flags (AT_STATX_DONT_SYNC and AT_SYMLINK_NOFOLLOW)
941941
* @returns 0 on success or negative error code on failure.
942942
*/
943943
int ceph_statxat(struct ceph_mount_info *cmount, int dirfd, const char *relpath,

0 commit comments

Comments
 (0)