Browse Source

target: Use #define for SYNCHRONIZE_CACHE_16

Signed-off-by: Andy Grover <agrover@redhat.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Andy Grover 13 years ago
parent
commit
8e94b8db61
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/target/target_core_transport.c

+ 1 - 1
drivers/target/target_core_transport.c

@@ -2912,7 +2912,7 @@ static int transport_generic_cmd_sequencer(
 		cmd->se_cmd_flags |= SCF_SCSI_NON_DATA_CDB;
 		cmd->se_cmd_flags |= SCF_SCSI_NON_DATA_CDB;
 		break;
 		break;
 	case SYNCHRONIZE_CACHE:
 	case SYNCHRONIZE_CACHE:
-	case 0x91: /* SYNCHRONIZE_CACHE_16: */
+	case SYNCHRONIZE_CACHE_16:
 		/*
 		/*
 		 * Extract LBA and range to be flushed for emulated SYNCHRONIZE_CACHE
 		 * Extract LBA and range to be flushed for emulated SYNCHRONIZE_CACHE
 		 */
 		 */