aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/progs/test_autoload.c
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2021-04-21 18:05:02 +0200
committerJens Axboe <[email protected]>2021-04-21 10:49:37 -0600
commit68e6582e8f2dc32fd2458b9926564faa1fb4560e (patch)
tree3cc6a5e8e60a81f969cb33215d221328a3483a57 /tools/testing/selftests/bpf/progs/test_autoload.c
parentf06c609645ecd043c79380fac94145926603fb33 (diff)
block: return -EBUSY when there are open partitions in blkdev_reread_part
The switch to go through blkdev_get_by_dev means we now ignore the return value from bdev_disk_changed in __blkdev_get. Add a manual check to restore the old semantics. Fixes: 4601b4b130de ("block: reopen the device in blkdev_reread_part") Reported-by: Karel Zak <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions