commit | 85441e6b8c97964a6da72135dc21f708adbdc4d8 | [log] [tgz] |
---|---|---|
author | Mike Christie <mchristi@redhat.com> | Fri Jun 23 01:18:14 2017 -0500 |
committer | Nicholas Bellinger <nab@linux-iscsi.org> | Thu Jul 06 23:11:38 2017 -0700 |
tree | 4e03541a349d033ae4bdaf1f485a57fd4e4aa6da | |
parent | 0a5eee647b78e53da05e081362f42a11b4b674eb [diff] |
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>