scst: small post-r6913 cleanup

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6918 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Vladislav Bolkhovitin
2016-07-26 02:04:34 +00:00
parent 244271120e
commit cde21c669a
+8 -2
View File
@@ -1019,11 +1019,17 @@ out_set_fs:
set_fs(old_fs);
out:
if (res != 0)
if (res != 0) {
PRINT_CRIT_ERROR("Unable to save persistent information "
"(device %s)", dev->virt_name);
/*
* It's safer to not return any error to the initiator and expect
* operator's intervention to be able to save the PR's state next
* time, than to screw up all the interactions with this initiator.
*/
}
TRACE_EXIT_RES(res);
TRACE_EXIT();
return;
write_error: