Files
linux/drivers/block
Christoph Hellwig 2a852a693f nbd: use the correct block_device in nbd_bdev_reset
The bdev parameter to ->ioctl contains the block device that the ioctl
is called on, which can be the partition.  But the openers check in
nbd_bdev_reset really needs to check use the whole device, so switch to
using that.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Jan Kara <jack@suse.cz>
Link: https://lore.kernel.org/r/20220330052917.2566582-2-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2022-04-18 06:54:09 -06:00
..
2022-03-04 12:29:20 -07:00
2022-04-17 19:49:59 -06:00
2022-04-17 19:49:59 -06:00
2022-01-17 07:19:40 -07:00
2022-03-04 12:29:21 -07:00
2021-12-16 10:57:04 -07:00
2021-12-16 10:57:04 -07:00
2022-04-17 19:30:47 -06:00
2021-11-29 06:38:35 -07:00
2022-04-17 19:49:59 -06:00
2022-02-02 07:49:59 -07:00
2021-11-29 06:38:35 -07:00
2021-11-29 06:38:35 -07:00
2022-04-17 19:49:59 -06:00
2021-11-29 06:38:35 -07:00