Merge of trunk r1400:

Fix incorrect initialization of scst_mgmt_cmd_stub structure



git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/1.0.1.x@1401 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Vladislav Bolkhovitin
2009-12-16 19:27:45 +00:00
parent 1587872d58
commit 0e0c9d1a42

View File

@@ -3994,7 +3994,7 @@ void scst_abort_cmd(struct scst_cmd *cmd, struct scst_mgmt_cmd *mcmd,
"stub failed (mcmd %p, cmd %p)", mcmd, cmd);
goto unlock;
}
memset(mstb, 0, sizeof(mstb));
memset(mstb, 0, sizeof(*mstb));
mstb->mcmd = mcmd;