mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-17 18:51:27 +00:00
scst: Complain loudly if scst_adjust_sg_get_tail() fails
Apparently certain libiscsi COMPARE AND WRITE tests cause scst_adjust_sg_get_tail() to fail. Complain if that happens even if "EXTRACHECKS" are disabled. git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8923 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -6846,7 +6846,7 @@ static void scst_cwr_read_cmd_finished(struct scst_cmd *cmd)
|
||||
* It must not happen, because get_cdb_info_compare_and_write()
|
||||
* supposed to ensure that.
|
||||
*/
|
||||
EXTRACHECKS_BUG_ON(rc != 0);
|
||||
WARN_ONCE(rc != 0, "scst_adjust_sg_get_tail() failed: %d\n", rc);
|
||||
|
||||
wcmd->tgt_i_data_buf_alloced = 1;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user