blktrace: remove unused ioctl definitions
authorJens Axboe <axboe@kernel.dk>
Wed, 28 Jun 2017 01:59:49 +0000 (19:59 -0600)
committerJens Axboe <axboe@kernel.dk>
Wed, 28 Jun 2017 01:59:49 +0000 (19:59 -0600)
They can conflict with <linux/fs.h> definitions, if we have them.
Fio doesn't use them at all, so just kill them.

Fixes: https://github.com/axboe/fio/issues/391
Signed-off-by: Jens Axboe <axboe@kernel.dk>
blktrace_api.h

index 3df3347d386a196c21a3fac5e25ee1d2a0875fb4..e2d8cb38d3583c3b21b9b9152f3cbe39b038c326 100644 (file)
@@ -127,9 +127,4 @@ struct blk_user_trace_setup {
        __u32 pid;
 };
 
-#define BLKTRACESETUP _IOWR(0x12,115,struct blk_user_trace_setup)
-#define BLKTRACESTART _IO(0x12,116)
-#define BLKTRACESTOP _IO(0x12,117)
-#define BLKTRACETEARDOWN _IO(0x12,118)
-
 #endif