aboutsummaryrefslogtreecommitdiffstats
path: root/block/partitions/core.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2022-06-28 19:18:45 +0200
committerJens Axboe <axboe@kernel.dk>2022-06-28 11:32:42 -0600
commitcc5c516df028b221d94c65c47c5ae8d20f61b6f9 (patch)
tree1114eeab9f60729e53f9af2766760c31267649ac /block/partitions/core.c
parentblock: remove blk_cleanup_disk (diff)
downloadlinux-dev-cc5c516df028b221d94c65c47c5ae8d20f61b6f9.tar.xz
linux-dev-cc5c516df028b221d94c65c47c5ae8d20f61b6f9.zip
block: simplify blktrace sysfs attribute creation
Add the trace attributes to the default gendisk attributes, just like we already do for partitions. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Bart Van Assche <bvanassche@acm.org> Link: https://lore.kernel.org/r/20220628171850.1313069-2-hch@lst.de Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/partitions/core.c')
-rw-r--r--block/partitions/core.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/block/partitions/core.c b/block/partitions/core.c
index 8a0ec929023b..7dc487f5b03c 100644
--- a/block/partitions/core.c
+++ b/block/partitions/core.c
@@ -9,7 +9,6 @@
#include <linux/slab.h>
#include <linux/ctype.h>
#include <linux/vmalloc.h>
-#include <linux/blktrace_api.h>
#include <linux/raid/detect.h>
#include "check.h"