aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2022-03-30 07:29:03 +0200
committerJens Axboe <[email protected]>2022-04-18 06:54:09 -0600
commit2a852a693f8839bb877fc731ffbc9ece3a9c16d7 (patch)
tree3866cd4f4e4c26a1caf7801389f72112867129f2 /tools/perf/scripts/python
parent8fd6533ef3f7729e4aa29ead83844c042688615a (diff)
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 <[email protected]> Reviewed-by: Jan Kara <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions