block: remove GENHD_FL_UP
Just check inode_unhashed on the whole device bdev inode instead, and provide a helper to check for that information. Signed-off-by:Christoph Hellwig <hch@lst.de> Link: https://lore.kernel.org/r/20210809064028.1198327-9-hch@lst.de Signed-off-by:
Jens Axboe <axboe@kernel.dk>
Showing
- block/genhd.c 2 additions, 4 deletionsblock/genhd.c
- block/partitions/core.c 2 additions, 2 deletionsblock/partitions/core.c
- drivers/md/md.h 1 addition, 3 deletionsdrivers/md/md.h
- drivers/nvme/host/core.c 1 addition, 1 deletiondrivers/nvme/host/core.c
- fs/block_dev.c 1 addition, 1 deletionfs/block_dev.c
- include/linux/genhd.h 5 additions, 4 deletionsinclude/linux/genhd.h
Please register or sign in to comment