Hi all, this is my attempted fix for the problem reported by Sergey in the "block: del_gendisk() vs blk_queue_enter() race condition" thread. As I don't have a reproducer this is all just best guest so far, so handle it with care! Diffstat block/genhd.c | 40 ++++++++++++++++++++++++++-------------- include/linux/blkdev.h | 1 + 2 files changed, 27 insertions(+), 14 deletions(-)