aboutsummaryrefslogtreecommitdiffstats
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorTejun Heo <[email protected]>2020-09-01 18:52:31 +0000
committerJens Axboe <[email protected]>2020-09-01 22:48:44 +0000
commit5aeac7c4b16069aae49005f0a8d4526baa83341b (patch)
treed380ddce8bf1e1a8d2e043e1491ba3da588ef89f /net/switchdev/switchdev.c
parentblock: fix locking in bdev_del_partition (diff)
downloadkernel-5aeac7c4b16069aae49005f0a8d4526baa83341b.tar.gz
kernel-5aeac7c4b16069aae49005f0a8d4526baa83341b.zip
blk-iocost: ioc_pd_free() shouldn't assume irq disabled
ioc_pd_free() grabs irq-safe ioc->lock without ensuring that irq is disabled when it can be called with irq disabled or enabled. This has a small chance of causing A-A deadlocks and triggers lockdep splats. Use irqsave operations instead. Signed-off-by: Tejun Heo <[email protected]> Fixes: 7caa47151ab2 ("blkcg: implement blk-iocost") Cc: [email protected] # v5.4+ Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions