]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
loop: Fold __loop_release into loop_release
authorJan Kara <jack@suse.cz>
Thu, 8 Nov 2018 13:01:03 +0000 (14:01 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 23 Jan 2019 07:10:56 +0000 (08:10 +0100)
commit7d839c10b848aa66ca1290a21ee600bd17c2dcb4
tree2a1771ed68fd30b78f314a774a087f44bb09a0b7
parent3ae3d167f5ec2c7bb5fcd12b7772cfadc93b2305
loop: Fold __loop_release into loop_release

commit 967d1dc144b50ad005e5eecdfadfbcfb399ffff6 upstream.

__loop_release() has a single call site. Fold it there. This is
currently not a huge win but it will make following replacement of
loop_index_mutex more obvious.

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