Skip to content
Commit 07d1b998 authored by Zhu Yanjun's avatar Zhu Yanjun Committed by Jens Axboe
Browse files

null_blk: Fix missing mutex_destroy() at module removal



When a mutex lock is not used any more, the function mutex_destroy
should be called to mark the mutex lock uninitialized.

Fixes: f2298c04 ("null_blk: multi queue aware block test driver")
Signed-off-by: default avatarZhu Yanjun <yanjun.zhu@linux.dev>
Link: https://lore.kernel.org/r/20240425171635.4227-1-yanjun.zhu@linux.dev


Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent bf4f776d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment