From e4868819eaa40078ef29875a5c774c75070c76e5 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Fri, 5 Dec 2014 10:30:54 +0000 Subject: [PATCH] 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 --- scst/src/scst_lib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scst/src/scst_lib.c b/scst/src/scst_lib.c index 1b5552bc4..2ea34d7c9 100644 --- a/scst/src/scst_lib.c +++ b/scst/src/scst_lib.c @@ -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",