Skip to content
Commit 18d1f200 authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Jens Axboe
Browse files

loop: move loop_ctl_mutex locking into loop_add



Move acquiring and releasing loop_ctl_mutex from the callers into
loop_add.

Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Reviewed-by: default avatarChaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Link: https://lore.kernel.org/r/20210623145908.92973-7-hch@lst.de
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent f9d10764
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment