commit | 34ca8e545203385646cbf83b048ecd130f71bebc | [log] [tgz] |
---|---|---|
author | Mike Christie <mchristi@redhat.com> | Fri Jun 23 01:18:17 2017 -0500 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sun Jan 17 13:57:53 2021 +0100 |
tree | 14bdbd903906e08701a7738cd7d1be740c530906 | |
parent | a11bd997799e9b8f399a0fafe3980e7aa0488fb2 [diff] |
xcopy: loop over devices using idr helper [ Upstream commit 6906d008b4b06e42cad393ac25bec76fbf31fabd ] This converts the xcopy code to use the idr helper. The next patch will drop the g_device_list and make g_device_mutex local to the target_core_device.c file. 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> Signed-off-by: Sasha Levin <sashal@kernel.org>