diff options
author | Christoph Hellwig <hch@lst.de> | 2024-06-25 07:52:38 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2024-07-02 16:58:12 +0200 |
commit | 98d34c087249d39838874b83e17671e7d5eb1ca7 (patch) | |
tree | 14c01afe2a51d0ef6ed07bf93fc7ccb4e36af4e7 /drivers/md/raid5.c | |
parent | null_blk: Fix description of the fua parameter (diff) | |
download | linux-98d34c087249d39838874b83e17671e7d5eb1ca7.tar.xz linux-98d34c087249d39838874b83e17671e7d5eb1ca7.zip |
xen-blkfront: fix sector_size propagation to the block layer
Ensure that info->sector_size and info->physical_sector_size are set
before the call to blkif_set_queue_limits by doing away with the
local variables and arguments that propagate them.
Thanks to Marek Marczykowski-Górecki and Jürgen Groß for root causing
the issue.
Fixes: ba3f67c11638 ("xen-blkfront: atomically update queue limits")
Reported-by: Rusty Bird <rustybird@net-c.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Roger Pau Monné <roger.pau@citrix.com>
Link: https://lore.kernel.org/r/20240625055238.7934-1-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/md/raid5.c')
0 files changed, 0 insertions, 0 deletions