Hi all, this is based of a patch from Gulam and suggestions from Ming and fixes a race between del_gendisk and BLKRRPART while also removing a global lock. Changes since v1: - fix the GENHD_FL_UP check in __blkdev_get - don't change where remove_inode_hash is called for now - improve the commit message Diffstat: block/genhd.c | 11 +---------- fs/block_dev.c | 18 ++++++++---------- include/linux/genhd.h | 2 -- 3 files changed, 9 insertions(+), 22 deletions(-)