diff options
author | Christoph Hellwig <hch@lst.de> | 2020-06-26 11:01:55 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-07-01 17:08:17 +0300 |
commit | 6b7b181b67aa8177e57732723106a0411570a86d (patch) | |
tree | 652706d27ce5969d0d77798b9d6ec44698a3a02a /mm/swapfile.c | |
parent | 5ff9f19231a0e670b3d79c563f1b0b185abeca91 (diff) | |
download | linux-6b7b181b67aa8177e57732723106a0411570a86d.tar.xz |
block: remove the bd_block_size field from struct block_device
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.
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'mm/swapfile.c')
0 files changed, 0 insertions, 0 deletions