diff options
author | Mike Christie <mchristi@redhat.com> | 2017-06-23 01:18:13 -0500 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2017-07-06 23:11:37 -0700 |
commit | 0a5eee647b78e53da05e081362f42a11b4b674eb (patch) | |
tree | 3cd717baa7b335e9887c9c198f90b1e084419a3d /net/ipv6/ip6_gre.c | |
parent | 926347061ef1f4d3873829fd1960c6e4b965aa9f (diff) | |
download | linux-0a5eee647b78e53da05e081362f42a11b4b674eb.tar.bz2 |
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 'net/ipv6/ip6_gre.c')
0 files changed, 0 insertions, 0 deletions