loop: Push loop_ctl_mutex down to loop_set_status()
authorJan Kara <jack@suse.cz>
Thu, 8 Nov 2018 13:01:09 +0000 (14:01 +0100)
committerJens Axboe <axboe@kernel.dk>
Thu, 8 Nov 2018 13:30:22 +0000 (06:30 -0700)
commit550df5fdacff94229cde0ed9b8085155654c1696
tree41f323f6af2d20c285336df7321553ec43bf333e
parent4a5ce9ba5877e4640200d84a735361306ad1a1b8
loop: Push loop_ctl_mutex down to loop_set_status()

Push loop_ctl_mutex down to loop_set_status(). We will need this to be
able to call loop_reread_partitions() without loop_ctl_mutex.

Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/loop.c