block: move make_it_fail to struct block_device
authorChristoph Hellwig <hch@lst.de>
Mon, 23 Nov 2020 15:28:47 +0000 (16:28 +0100)
committerJens Axboe <axboe@kernel.dk>
Tue, 1 Dec 2020 21:53:40 +0000 (14:53 -0700)
commitb309e9936347232c724eaa13f70533128b4864e9
tree605597177f339d9934dfdfa7f25a0a947fd356e7
parent1bdd5ae0251d678488dffcf455d4633c2beef1bc
block: move make_it_fail to struct block_device

Move the make_it_fail flag to struct block_device an turn it into a bool
in preparation of killing struct hd_struct.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Jan Kara <jack@suse.cz>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-core.c
block/genhd.c
include/linux/blk_types.h
include/linux/genhd.h