commit | a2505b799a496b7b84d9a4a14ec870ff9e42e11b | [log] [tgz] |
---|---|---|
author | Jan Kara <jack@suse.cz> | Thu Nov 08 14:01:06 2018 +0100 |
committer | Jens Axboe <axboe@kernel.dk> | Thu Nov 08 06:30:18 2018 -0700 |
tree | 990cdcb77dc2f1af420e0b04e3f35b62f0539655 | |
parent | a13165441d58b216adbd50252a9cc829d78a6bce [diff] |
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: Jan Kara <jack@suse.cz> Signed-off-by: Jens Axboe <axboe@kernel.dk>