summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2026-05-15 11:35:09 -0400
committerChristian Brauner <brauner@kernel.org>2026-05-15 17:49:22 +0200
commit2c718fccf37469e30dd8a5c992fc0b63628128fd (patch)
tree8a7d9e898ba0b38524e3dc3f1fcedeb1b6e39b00
parent1633e6ea1a2188d976f1b38dd65deaf743eb47cc (diff)
tools headers UAPI: Sync case-sensitivity flags from linux/fs.h
The case-sensitivity series adds FS_XFLAG_CASEFOLD and FS_XFLAG_CASENONPRESERVING to include/uapi/linux/fs.h, and tools/perf/check-headers.sh would warn about the resulting drift in the perf beauty copy. Pick up only those two flags (and the surrounding comment block) so the series does not introduce new drift of its own. This is not a full sync. The perf copy is also missing the FS_IOC_SHUTDOWN block added by commit 1f662195dbc0 ("fs: add generic FS_IOC_SHUTDOWN definitions"). Because tools/perf/check-headers.sh emits a single warning per file, that warning will remain active until the older drift is picked up too; closing it is left to a separate sync outside this series. Reported-by: sashiko-bot <sashiko-bot@kernel.org> Closes: https://sashiko.dev/#/patchset/20260507-case-sensitivity-v14-0-e62cc8200435@oracle.com?part=2 Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Link: https://patch.msgid.link/20260515153515.362266-2-cel@kernel.org Signed-off-by: Christian Brauner <brauner@kernel.org>
-rw-r--r--tools/perf/trace/beauty/include/uapi/linux/fs.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/perf/trace/beauty/include/uapi/linux/fs.h b/tools/perf/trace/beauty/include/uapi/linux/fs.h
index 70b2b661f42c..2fa003575e8b 100644
--- a/tools/perf/trace/beauty/include/uapi/linux/fs.h
+++ b/tools/perf/trace/beauty/include/uapi/linux/fs.h
@@ -254,6 +254,13 @@ struct file_attr {
#define FS_XFLAG_DAX 0x00008000 /* use DAX for IO */
#define FS_XFLAG_COWEXTSIZE 0x00010000 /* CoW extent size allocator hint */
#define FS_XFLAG_VERITY 0x00020000 /* fs-verity enabled */
+/*
+ * Case handling flags (read-only, cannot be set via ioctl).
+ * Default (neither set) indicates POSIX semantics: case-sensitive
+ * lookups and case-preserving storage.
+ */
+#define FS_XFLAG_CASEFOLD 0x00040000 /* case-insensitive lookups */
+#define FS_XFLAG_CASENONPRESERVING 0x00080000 /* case not preserved */
#define FS_XFLAG_HASATTR 0x80000000 /* no DIFLAG for this */
/* the read-only stuff doesn't really belong here, but any other place is