mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-24 03:20:53 +07:00
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>
This commit is contained in:
parent
fe4ec12e18
commit
9011495c94
@ -832,7 +832,6 @@ dcssblk_open(struct block_device *bdev, fmode_t mode)
|
||||
goto out;
|
||||
}
|
||||
atomic_inc(&dev_info->use_count);
|
||||
bdev->bd_block_size = 4096;
|
||||
rc = 0;
|
||||
out:
|
||||
return rc;
|
||||
|
Loading…
Reference in New Issue
Block a user