summaryrefslogtreecommitdiffstats
path: root/drivers/target/target_core_user.c
diff options
context:
space:
mode:
authorMike Christie2017-06-23 08:18:14 +0200
committerNicholas Bellinger2017-07-07 08:11:38 +0200
commit85441e6b8c97964a6da72135dc21f708adbdc4d8 (patch)
tree4e03541a349d033ae4bdaf1f485a57fd4e4aa6da /drivers/target/target_core_user.c
parenttarget: use idr for se_device dev index (diff)
downloadkernel-qcow2-linux-85441e6b8c97964a6da72135dc21f708adbdc4d8.tar.gz
kernel-qcow2-linux-85441e6b8c97964a6da72135dc21f708adbdc4d8.tar.xz
kernel-qcow2-linux-85441e6b8c97964a6da72135dc21f708adbdc4d8.zip
target: add helper to find se_device by dev_index
This adds a helper to find a se_device by dev_index. It will be used in the next patches so tcmu's netlink interface can execute commands on specific devices. Signed-off-by: Mike Christie <mchristi@redhat.com> Reviewed-by: Bart Van Assche <bart.vanassche@wdc.com> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/target/target_core_user.c')
0 files changed, 0 insertions, 0 deletions