]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
target/tcm_loop: Replace a waitqueue and a counter by a completion
authorBart Van Assche <bart.vanassche@sandisk.com>
Tue, 23 May 2017 23:48:40 +0000 (16:48 -0700)
committerNicholas Bellinger <nab@linux-iscsi.org>
Fri, 7 Jul 2017 06:11:24 +0000 (23:11 -0700)
commitd17203c41185a05ecd4d1fc647f16b17ab1b27ae
tree48d019bc17625eed108fa3417a52037f00a643b5
parent4d3895d5ea43cf40fd707692263c6f0988fe8d70
target/tcm_loop: Replace a waitqueue and a counter by a completion

This patch simplifies the implementation of the tcm_loop driver
but does not change its behavior.

Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Hannes Reinecke <hare@suse.com>
Cc: David Disseldorp <ddiss@suse.de>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/loopback/tcm_loop.c
drivers/target/loopback/tcm_loop.h