]> www.infradead.org Git - users/jedix/linux-maple.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 23 Jan 2019 07:09:51 +0000 (08:09 +0100)
commitc1e63df4f30c3918476ac9bc594355b0e9629893
treeae896cd6e1d33492003f35333a113d2c6455d422
parentf1e81ba8a3fa56dcc48828869b392b29559a0ac3
loop: Get rid of loop_index_mutex

commit 0a42e99b58a208839626465af194cfe640ef9493 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/block/loop.c