Hi all, the first patch fixes a use after free, and the others deal with debugfs name reuse that spews warnings and makes debugfs use impossible for quickly reused gendisk instances. Both of those are rooted in sloppy life time rules for block device tear down. Compared to the previous separate postings this adds a missing queue quiesce and documents debugfs_mutex better. Diffstat: block/blk-core.c | 13 ------------- block/blk-mq-debugfs.c | 29 ++++++++++++++++++----------- block/blk-mq-debugfs.h | 10 ---------- block/blk-mq-sched.c | 11 +++++++++++ block/blk-rq-qos.c | 2 -- block/blk-rq-qos.h | 7 ++++++- block/blk-sysfs.c | 30 ++++++++++++++---------------- block/genhd.c | 42 ++++++++++++------------------------------ include/linux/blkdev.h | 8 ++++---- kernel/trace/blktrace.c | 3 --- 10 files changed, 65 insertions(+), 90 deletions(-)