block: rename bd_invalidated
authorChristoph Hellwig <hch@lst.de>
Tue, 1 Sep 2020 15:57:42 +0000 (17:57 +0200)
committerJens Axboe <axboe@kernel.dk>
Wed, 2 Sep 2020 14:00:02 +0000 (08:00 -0600)
commitf4ad06f2bb8476548b08f89919ee65abc4e40212
tree112bdfd4a1acdc73d752b8e15a31628e0fd81995
parent6540fbf6b634071950f01ee4e4194e2ea8ca72d1
block: rename bd_invalidated

Replace bd_invalidate with a new BDEV_NEED_PART_SCAN flag in a bd_flags
variable to better describe the condition.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/genhd.c
drivers/block/nbd.c
fs/block_dev.c
include/linux/blk_types.h