]> 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)
commitb351d2d621d4bf5ea2b7b37c572a739f018ff6bf
treed9b8f1f2bad1eea34e162787a6e6650b99c56133
parentb36a7d332f59302c19df87ca3b002d793b125913
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