summaryrefslogtreecommitdiff
path: root/include/target/target_core_backend.h
diff options
context:
space:
mode:
authorMike Christie <mchristi@redhat.com>2017-06-23 09:18:13 +0300
committerNicholas Bellinger <nab@linux-iscsi.org>2017-07-07 09:11:37 +0300
commit0a5eee647b78e53da05e081362f42a11b4b674eb (patch)
tree3cd717baa7b335e9887c9c198f90b1e084419a3d /include/target/target_core_backend.h
parent926347061ef1f4d3873829fd1960c6e4b965aa9f (diff)
downloadlinux-0a5eee647b78e53da05e081362f42a11b4b674eb.tar.xz
target: use idr for se_device dev index
In the next patches we will add tcmu netlink support that allows userspace to send commands to target_core_user. To execute operations on a se_device/tcmu_dev we need to be able to look up a dev by any old id. This patch replaces the se_device->dev_index with a idr created id. The next patches will also remove the g_device_list and replace it with the idr. Signed-off-by: Mike Christie <mchristi@redhat.com> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'include/target/target_core_backend.h')
0 files changed, 0 insertions, 0 deletions