Re: [PATCH 4/7] block: remove the bd_block_size field from struct block_device

2020-07-01 Thread Johannes Thumshirn
Looks good, Reviewed-by: Johannes Thumshirn

[PATCH 4/7] block: remove the bd_block_size field from struct block_device

2020-06-26 Thread Christoph Hellwig
We can trivially calculate the block size from the inodes i_blkbits variable. Use that instead of keeping two redundant copies of the information in slightly different formats. Signed-off-by: Christoph Hellwig --- fs/block_dev.c| 9 ++--- include/linux/blk_types.h | 1 - include