Skip to content
Commit c82b59e7 authored by tangwenji's avatar tangwenji Committed by Nicholas Bellinger
Browse files

target: fix destroy device in target_configure_device



After dev->transport->configure_device succeeds, target_configure_device
exits abnormally, dev_flags has not set DF_CONFIGURED yet, does not call
destroy_device function in free_device.

Signed-off-by: default avatartangwenji <tang.wenji@zte.com.cn>
Acked-by: default avatarMike Christie <mchristi@redhat.com>
Signed-off-by: default avatarNicholas Bellinger <nab@linux-iscsi.org>
parent 892782ca
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment