Skip to content
Commit a2505b79 authored by Jan Kara's avatar Jan Kara Committed by Jens Axboe
Browse files

loop: Split setting of lo_state from loop_clr_fd



Move setting of lo_state to Lo_rundown out into the callers. That will
allow us to unlock loop_ctl_mutex while the loop device is protected
from other changes by its special state.

Signed-off-by: default avatarJan Kara <jack@suse.cz>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent a1316544
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