tcmu: split unmap_thread_fn
authorMike Christie <mchristi@redhat.com>
Tue, 28 Nov 2017 18:40:29 +0000 (12:40 -0600)
committerNicholas Bellinger <nab@linux-iscsi.org>
Fri, 12 Jan 2018 23:07:11 +0000 (15:07 -0800)
commit89ec9cfd3b644fbc36047e36776509130d2fc1ec
treedeab530efef0477efc8010d9bc032cc2295ddcf9
parentbf99ec13327bb5b0f6475aea8735c0ca34cc2a26
tcmu: split unmap_thread_fn

Separate unmap_thread_fn to make it easier to read.

Note: this patch does not fix the bug where we might
miss a wake up call. The next patch will fix that.
This patch only separates the code into functions.

Signed-off-by: Mike Christie <mchristi@redhat.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/target_core_user.c