diff options
Diffstat (limited to 'block/bsg-lib.c')
-rw-r--r-- | block/bsg-lib.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/block/bsg-lib.c b/block/bsg-lib.c index 1474153f73e3..b4fe1a48f111 100644 --- a/block/bsg-lib.c +++ b/block/bsg-lib.c | |||
@@ -275,8 +275,8 @@ struct request_queue *bsg_setup_queue(struct device *dev, const char *name, | |||
275 | 275 | ||
276 | q->queuedata = dev; | 276 | q->queuedata = dev; |
277 | q->bsg_job_fn = job_fn; | 277 | q->bsg_job_fn = job_fn; |
278 | queue_flag_set_unlocked(QUEUE_FLAG_BIDI, q); | 278 | blk_queue_flag_set(QUEUE_FLAG_BIDI, q); |
279 | queue_flag_set_unlocked(QUEUE_FLAG_SCSI_PASSTHROUGH, q); | 279 | blk_queue_flag_set(QUEUE_FLAG_SCSI_PASSTHROUGH, q); |
280 | blk_queue_softirq_done(q, bsg_softirq_done); | 280 | blk_queue_softirq_done(q, bsg_softirq_done); |
281 | blk_queue_rq_timeout(q, BLK_DEFAULT_SG_TIMEOUT); | 281 | blk_queue_rq_timeout(q, BLK_DEFAULT_SG_TIMEOUT); |
282 | 282 | ||