diff options
author | Christoph Hellwig <hch@lst.de> | 2024-06-25 07:52:38 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2024-07-02 08:58:12 -0600 |
commit | 98d34c087249d39838874b83e17671e7d5eb1ca7 (patch) | |
tree | 14c01afe2a51d0ef6ed07bf93fc7ccb4e36af4e7 /drivers/platform/x86/adv_swbutton.c | |
parent | 1c0b3fca381bf879e2168b362692f83808677f95 (diff) | |
download | linux-stable-98d34c087249d39838874b83e17671e7d5eb1ca7.tar.gz linux-stable-98d34c087249d39838874b83e17671e7d5eb1ca7.tar.bz2 linux-stable-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/platform/x86/adv_swbutton.c')
0 files changed, 0 insertions, 0 deletions