Skip to content

Commit 4bd8d14

Browse files
committed
tools headers: Sync UAPI linux/fs.h with kernel sources
To pick up changes from: b30ffcd ("block: introduce BLKREPORTZONESV2 ioctl") 0d8627c ("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>
1 parent 673293e commit 4bd8d14

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

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

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,8 +298,9 @@ struct file_attr {
298298
#define BLKROTATIONAL _IO(0x12,126)
299299
#define BLKZEROOUT _IO(0x12,127)
300300
#define BLKGETDISKSEQ _IOR(0x12,128,__u64)
301-
/* 130-136 are used by zoned block device ioctls (uapi/linux/blkzoned.h) */
301+
/* 130-136 and 142 are used by zoned block device ioctls (uapi/linux/blkzoned.h) */
302302
/* 137-141 are used by blk-crypto ioctls (uapi/linux/blk-crypto.h) */
303+
#define BLKTRACESETUP2 _IOWR(0x12, 142, struct blk_user_trace_setup2)
303304

304305
#define BMAP_IOCTL 1 /* obsolete - kept for compatibility */
305306
#define FIBMAP _IO(0x00,1) /* bmap access */

0 commit comments

Comments
 (0)