diff options
author | Christoph Hellwig <hch@lst.de> | 2020-06-26 10:01:53 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-07-01 16:08:15 +0200 |
commit | 9011495c9466ca0aaee2741f98d50ac2ca8cee11 (patch) | |
tree | 7484951c8acc5e5699dc06f65e73dd25b200b07c /fs/block_dev.c | |
parent | floppy: use block_size (diff) | |
download | linux-9011495c9466ca0aaee2741f98d50ac2ca8cee11.tar.xz linux-9011495c9466ca0aaee2741f98d50ac2ca8cee11.zip |
dcssblk: don't set bd_block_size in ->open
bd_block_size contains a value that matches the logic block size when
opening, so the statement is redundant. Even if it wasn't the dumb
assignment would cause a a mismatch with bd_inode->i_blkbits.
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 'fs/block_dev.c')
0 files changed, 0 insertions, 0 deletions