mirror of
https://github.com/SCST-project/scst.git
synced 2026-08-21 22:56:32 +00:00
scst_lib: Fix READ POSITION parsing (merge r5740 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.0.x@5917 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
+1
-1
@@ -6666,7 +6666,7 @@ static int get_cdb_info_read_pos(struct scst_cmd *cmd,
|
||||
cmd->bufflen = 32;
|
||||
break;
|
||||
case 8:
|
||||
cmd->bufflen = max(28, cmd->bufflen);
|
||||
cmd->bufflen = max(32, cmd->bufflen);
|
||||
break;
|
||||
default:
|
||||
PRINT_ERROR("READ POSITION: Invalid service action %x",
|
||||
|
||||
Reference in New Issue
Block a user