aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorJan Kara <[email protected]>2019-08-07 09:36:47 +0000
committerJens Axboe <[email protected]>2019-08-08 13:37:03 +0000
commite91455bad5cff40a8c232f2204a5104127e3fec2 (patch)
treebb50daf2d6637e3d9e5dbab4fc613075a19af297 /tools/perf/scripts/python/event_analyzing_sample.py
parentblock, bfq: handle NULL return value by bfq_init_rq() (diff)
downloadkernel-e91455bad5cff40a8c232f2204a5104127e3fec2.tar.gz
kernel-e91455bad5cff40a8c232f2204a5104127e3fec2.zip
bdev: Fixup error handling in blkdev_get()
Commit 89e524c04fa9 ("loop: Fix mount(2) failure due to race with LOOP_SET_FD") converted blkdev_get() to use the new helpers for finishing claiming of a block device. However the conversion botched the error handling in blkdev_get() and thus the bdev has been marked as held even in case __blkdev_get() returned error. This led to occasional warnings with block/001 test from blktests like: kernel: WARNING: CPU: 5 PID: 907 at fs/block_dev.c:1899 __blkdev_put+0x396/0x3a0 Correct the error handling. CC: [email protected] Fixes: 89e524c04fa9 ("loop: Fix mount(2) failure due to race with LOOP_SET_FD") Signed-off-by: Jan Kara <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions