diff --git a/scst_local/scst_local.c b/scst_local/scst_local.c index 55e86cca9..692d8f19f 100644 --- a/scst_local/scst_local.c +++ b/scst_local/scst_local.c @@ -1208,7 +1208,9 @@ static int scst_local_change_queue_depth(struct scsi_device *sdev, int qdepth) static int scst_local_slave_alloc(struct scsi_device *sdev) { +#if !defined(RHEL_MAJOR) || RHEL_MAJOR -0 >= 6 queue_flag_set_unlocked(QUEUE_FLAG_BIDI, sdev->request_queue); +#endif return 0; }