]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
tools headers: Sync UAPI linux/fs.h with kernel sources
authorNamhyung Kim <namhyung@kernel.org>
Mon, 22 Dec 2025 22:57:09 +0000 (14:57 -0800)
committerNamhyung Kim <namhyung@kernel.org>
Wed, 24 Dec 2025 19:42:40 +0000 (11:42 -0800)
To pick up changes from:

  b30ffcdc0c15a88f ("block: introduce BLKREPORTZONESV2 ioctl")
  0d8627cc936de8ea ("blktrace: add definitions for blk_user_trace_setup2")

This should be used to beautify ioctl syscall arguments and it addresses
these tools/perf build warnings:

  Warning: Kernel ABI header differences:
    diff -u tools/perf/trace/beauty/include/uapi/linux/fs.h include/uapi/linux/fs.h

Please see tools/include/uapi/README.

Cc: linux-fsdevel@vger.kernel.org
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
tools/perf/trace/beauty/include/uapi/linux/fs.h

index beb4c2d1e41cb1bb3f97ea626eeefb7bfb1b777c..66ca526cf786c761eb5bab1175e519f7f32cd764 100644 (file)
@@ -298,8 +298,9 @@ struct file_attr {
 #define BLKROTATIONAL _IO(0x12,126)
 #define BLKZEROOUT _IO(0x12,127)
 #define BLKGETDISKSEQ _IOR(0x12,128,__u64)
-/* 130-136 are used by zoned block device ioctls (uapi/linux/blkzoned.h) */
+/* 130-136 and 142 are used by zoned block device ioctls (uapi/linux/blkzoned.h) */
 /* 137-141 are used by blk-crypto ioctls (uapi/linux/blk-crypto.h) */
+#define BLKTRACESETUP2 _IOWR(0x12, 142, struct blk_user_trace_setup2)
 
 #define BMAP_IOCTL 1           /* obsolete - kept for compatibility */
 #define FIBMAP    _IO(0x00,1)  /* bmap access */