mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-20 12:11:26 +00:00
Makes scst_vdisk build again on RHEL 5.x.
BSD-signed-off-by: Bart Van Assche <bvanassche@acm.org> git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3961 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -1279,7 +1279,7 @@ static int vdisk_do_job(struct scst_cmd *cmd, const vdisk_op_fn *ops)
|
||||
else if (s == INVALID_OPCODE)
|
||||
goto out_invalid_opcode;
|
||||
else
|
||||
__WARN();
|
||||
WARN_ON(true);
|
||||
} else
|
||||
goto out_invalid_opcode;
|
||||
|
||||
@@ -3457,7 +3457,7 @@ out:
|
||||
static enum compl_status_e blockio_exec_write_verify(struct vdisk_cmd_params *p)
|
||||
{
|
||||
/* Not yet implemented */
|
||||
__WARN();
|
||||
WARN_ON(true);
|
||||
return blockio_exec_write(p);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user