mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-22 05:01:27 +00:00
scst_sysfs: Report LUN replacement failure correctly
This is a follow-up for r6834. git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6854 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -1447,6 +1447,8 @@ static int __scst_process_luns_mgmt_store(char *buffer,
|
||||
res = scst_acg_repl_lun(acg, tgt_kobj ? tgt->tgt_luns_kobj :
|
||||
acg->luns_kobj, dev, virt_lun,
|
||||
flags);
|
||||
if (res != 0)
|
||||
goto out_unlock;
|
||||
break;
|
||||
}
|
||||
case SCST_LUN_ACTION_DEL:
|
||||
|
||||
Reference in New Issue
Block a user