mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-22 05:01:27 +00:00
scst_local: RHEL 5 fix (merge r4828 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@6048 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -1242,7 +1242,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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user