Skip to content

Commit 6d442c6

Browse files
committed
tools headers: Sync uapi/linux/fcntl.h with the kernel sources
To pick up the changes in this cset: c374196 ("fs: name_to_handle_at() support for "explicit connectable" file handles") 95f567f ("fs: Simplify getattr interface function checking AT_GETATTR_NOSEC flag") This addresses these perf build warnings: Warning: Kernel ABI header differences: diff -u tools/perf/trace/beauty/include/uapi/linux/fcntl.h include/uapi/linux/fcntl.h Please see tools/include/uapi/README for further details. Reviewed-by: James Clark <james.clark@linaro.org> Cc: Jeff Layton <jlayton@kernel.org> Cc: Chuck Lever <chuck.lever@oracle.com> Cc: Alexander Aring <alex.aring@gmail.com> Cc: Christian Brauner <brauner@kernel.org> Cc: Al Viro <viro@zeniv.linux.org.uk> Cc: linux-fsdevel@vger.kernel.org Link: https://lore.kernel.org/r/20241203035349.1901262-9-namhyung@kernel.org Signed-off-by: Namhyung Kim <namhyung@kernel.org>
1 parent 3cef7d8 commit 6d442c6

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

  • tools/perf/trace/beauty/include/uapi/linux

tools/perf/trace/beauty/include/uapi/linux/fcntl.h

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -153,9 +153,6 @@
153153
object identity and may not be
154154
usable with open_by_handle_at(2). */
155155
#define AT_HANDLE_MNT_ID_UNIQUE 0x001 /* Return the u64 unique mount ID. */
156-
157-
#if defined(__KERNEL__)
158-
#define AT_GETATTR_NOSEC 0x80000000
159-
#endif
156+
#define AT_HANDLE_CONNECTABLE 0x002 /* Request a connectable file handle */
160157

161158
#endif /* _UAPI_LINUX_FCNTL_H */

0 commit comments

Comments
 (0)