]> git.baikalelectronics.ru Git - kernel.git/commit
loop: Get rid of loop_index_mutex
authorJan Kara <jack@suse.cz>
Thu, 8 Nov 2018 13:01:04 +0000 (14:01 +0100)
committerJens Axboe <axboe@kernel.dk>
Thu, 8 Nov 2018 13:30:15 +0000 (06:30 -0700)
commit221810545fde57de2df9e37370671138a2e96ba5
treed9b8f1f2bad1eea34e162787a6e6650b99c56133
parent861ed699dab8bf811e61b3e156f6211dfb88079e
loop: Get rid of loop_index_mutex

Now that loop_ctl_mutex is global, just get rid of loop_index_mutex as
there is no good reason to keep these two separate and it just
complicates the locking.

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