From: Anoop C S Date: Thu, 17 Oct 2024 16:15:17 +0000 (+0530) Subject: libcephfs.h: Fix API documentation for ceph_statxat X-Git-Tag: testing/wip-jcollin-testing-20251001.024604-squid~13^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=47166cf7ba57260d4a86d4801acaf984e33bd68b;p=ceph-ci.git 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 (cherry picked from commit 92c5ab99b8dcaae56e4a92cfe72a7e3d343b8a0c) --- diff --git a/src/include/cephfs/libcephfs.h b/src/include/cephfs/libcephfs.h index fc0e2f3c9bc..28f7e6adb0e 100644 --- a/src/include/cephfs/libcephfs.h +++ b/src/include/cephfs/libcephfs.h @@ -1013,7 +1013,7 @@ int ceph_fstatx(struct ceph_mount_info *cmount, int fd, struct ceph_statx *stx, * @param relpath to the file/directory to get statistics of * @param stx the ceph_statx struct that will be filled in with the file's statistics. * @param want bitfield of CEPH_STATX_* flags showing designed attributes - * @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) + * @param flags bitfield that can be used to set AT_* modifier flags (AT_STATX_DONT_SYNC and AT_SYMLINK_NOFOLLOW) * @returns 0 on success or negative error code on failure. */ int ceph_statxat(struct ceph_mount_info *cmount, int dirfd, const char *relpath,