summaryrefslogtreecommitdiff
path: root/drivers/md
diff options
context:
space:
mode:
authorZhu Yanjun <yanjun.zhu@linux.dev>2024-04-25 20:16:35 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-06-12 12:03:06 +0300
commit8b5405bf0d4b0d4a6879a04f2133c83fcfebff1e (patch)
treec342af976973eb9fe570b82a42f5b0593ef660c8 /drivers/md
parent3603c03acd11a7a134b8c228da3aa46693ef19c6 (diff)
downloadlinux-8b5405bf0d4b0d4a6879a04f2133c83fcfebff1e.tar.xz
null_blk: Fix missing mutex_destroy() at module removal
[ Upstream commit 07d1b99825f40f9c0d93e6b99d79a08d0717bac1 ] When a mutex lock is not used any more, the function mutex_destroy should be called to mark the mutex lock uninitialized. Fixes: f2298c0403b0 ("null_blk: multi queue aware block test driver") Signed-off-by: Zhu Yanjun <yanjun.zhu@linux.dev> Link: https://lore.kernel.org/r/20240425171635.4227-1-yanjun.zhu@linux.dev Signed-off-by: Jens Axboe <axboe@kernel.dk> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/md')
0 files changed, 0 insertions, 0 deletions