Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Tested-by: Mikhail Gavrilov <[email protected]> Acked-by: Minchan Kim <[email protected]> Acked-by: Sebastian Andrzej Siewior <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
- Loading branch information