[dm-devel] [PATCH 35/44] block: move the policy field to struct block_device

2020-11-26 Thread Christoph Hellwig
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 --- block/blk-core.c | 2 +- block/genhd.c | 8 block/ioctl.c | 2 +-

Re: [dm-devel] [PATCH 35/44] block: move the policy field to struct block_device

2020-11-26 Thread Jan Kara
On Thu 26-11-20 14:04:13, Christoph Hellwig wrote: > 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 Looks good. You can add: Reviewed-by: Jan Kara