diff options
author | Peter Zijlstra <peterz@infradead.org> | 2020-10-19 12:13:53 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-10-19 17:32:28 +0200 |
commit | 0669d2b265d0f6f9e16f1abbf5c5d2e22b219a6b (patch) | |
tree | 6be6035e5b2230562ba0958969194486392bb32e /block/blk-mq-cpumap.c | |
parent | skd_main: remove unused including <linux/version.h> (diff) | |
download | linux-0669d2b265d0f6f9e16f1abbf5c5d2e22b219a6b.tar.xz linux-0669d2b265d0f6f9e16f1abbf5c5d2e22b219a6b.zip |
zram: Fix __zram_bvec_{read,write}() locking order
Mikhail reported a lockdep spat detailing how __zram_bvec_read() and
__zram_bvec_write() use zstrm->lock and zspage->lock in opposite order.
Reported-by: Mikhail Gavrilov <mikhail.v.gavrilov@gmail.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Tested-by: Mikhail Gavrilov <mikhail.v.gavrilov@gmail.com>
Acked-by: Minchan Kim <minchan@kernel.org>
Acked-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-mq-cpumap.c')
0 files changed, 0 insertions, 0 deletions