From e8f6cfd14350a47e6958e5c5cc295784be51c282 Mon Sep 17 00:00:00 2001 From: Vladislav Bolkhovitin Date: Tue, 13 Jul 2010 11:50:27 +0000 Subject: [PATCH] Remove wrong "Unexpected block size" messages git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1814 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- scst/src/dev_handlers/scst_vdisk.c | 5 +---- usr/fileio/common.c | 5 +---- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/scst/src/dev_handlers/scst_vdisk.c b/scst/src/dev_handlers/scst_vdisk.c index 217b8304d..1d66f9eb6 100644 --- a/scst/src/dev_handlers/scst_vdisk.c +++ b/scst/src/dev_handlers/scst_vdisk.c @@ -2058,11 +2058,8 @@ static void vdisk_exec_read_capacity16(struct scst_cmd *cmd) case 2048: buffer[13] = 1; break; - default: - PRINT_ERROR("%s: Unexpected block size %d", - cmd->op_name, blocksize); - /* go through */ case 4096: + default: buffer[13] = 0; break; } diff --git a/usr/fileio/common.c b/usr/fileio/common.c index 787f71eb7..ab5e5f672 100644 --- a/usr/fileio/common.c +++ b/usr/fileio/common.c @@ -1475,11 +1475,8 @@ static void exec_read_capacity16(struct vdisk_cmd *vcmd) case 2048: buffer[13] = 1; break; - default: - PRINT_ERROR("READ CAPACITY(16): Unexpected block size %d6", - blocksize); - /* go through */ case 4096: + default: buffer[13] = 0; break; }