Revert "loop: Get rid of loop_index_mutex"
commitf1f952b305344a9d3b1b6a9021067d1d9809f5a6
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 30 Jan 2019 07:34:22 +0000 (30 08:34 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 6 Feb 2019 18:43:05 +0000 (6 19:43 +0100)
tree5cdacc08ee51fb9e4ba89fc7bd5752b30bc9b406
parent55bbe71559ac574f4be070194a9170ca16f965fe
Revert "loop: Get rid of loop_index_mutex"

This reverts commit 611f77199cd763e6b7c0462c2f199ddb3a089750 which is
commit 0a42e99b58a208839626465af194cfe640ef9493 upstream.

It is not needed in the 4.4.y tree at this time.

Reported-by: Jan Kara <jack@suse.cz>
Cc: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/block/loop.c