diff --git a/scst/src/scst_lib.c b/scst/src/scst_lib.c index fadec75e3..02504643e 100644 --- a/scst/src/scst_lib.c +++ b/scst/src/scst_lib.c @@ -558,8 +558,8 @@ static const struct scst_sdbops scst_scsi_op_table[] = { .get_cdb_info = get_cdb_info_fmt}, {.ops = 0x04, .devkey = " O ", .info_op_name = "FORMAT MEDIUM", - .info_data_direction = SCST_DATA_WRITE|SCST_STRICTLY_SERIALIZED, - .info_op_flags = SCST_LONG_TIMEOUT|SCST_WRITE_MEDIUM, + .info_data_direction = SCST_DATA_WRITE, + .info_op_flags = SCST_LONG_TIMEOUT|SCST_WRITE_MEDIUM|SCST_STRICTLY_SERIALIZED, .info_len_off = 3, .get_cdb_info = get_cdb_info_len_2}, {.ops = 0x04, .devkey = " O ", .info_op_name = "FORMAT",