commit | c82b59e7c3f81059b1d280e21028c7ac8451dd52 | [log] [tgz] |
---|---|---|
author | tangwenji <tang.wenji@zte.com.cn> | Mon Jan 15 20:09:37 2018 +0800 |
committer | Nicholas Bellinger <nab@linux-iscsi.org> | Thu Jan 18 01:21:11 2018 -0800 |
tree | 310323c2fdc4d5b7be2440a4a864968045f73fcd | |
parent | 892782caf19a97ccc95df51b3bb659ecacff986a [diff] |
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: tangwenji <tang.wenji@zte.com.cn> Acked-by: Mike Christie <mchristi@redhat.com> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>