fixes and cleanups for block_device refcounting

Christoph Hellwig
2021-07-21T15:35:45Z

Hi Jens,

this series fixes up a possible race with the block_device lookup
changes, and the finishes off the conversion to stop using the inode
refcount for block devices.

Diffstat:
block/genhd.c | 5 +--
block/partitions/core.c | 14 ++++-----
drivers/block/loop.c | 5 ---
fs/block_dev.c | 71 +++++++++++++++---------------------------------
fs/btrfs/zoned.c | 11 ++-----
include/linux/blkdev.h | 2 -
6 files changed, 34 insertions(+), 74 deletions(-)