diff options
author | Christoph Hellwig <hch@lst.de> | 2020-11-23 16:36:02 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-12-01 22:53:40 +0100 |
commit | 83950d359010a493462d58c712b1124c877d1b3b (patch) | |
tree | 303ad13fa9390c8764e8dde72119d789f14df769 /drivers/md/md.c | |
parent | block: move make_it_fail to struct block_device (diff) | |
download | linux-83950d359010a493462d58c712b1124c877d1b3b.tar.xz linux-83950d359010a493462d58c712b1124c877d1b3b.zip |
block: move the policy field to struct block_device
Move the policy field to struct block_device and rename it to the
more descriptive bd_read_only. Also turn the field into a bool as it
is used as such.
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>
Diffstat (limited to 'drivers/md/md.c')
0 files changed, 0 insertions, 0 deletions