aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/block/ll_rw_blk.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/block/ll_rw_blk.c')
-rw-r--r--drivers/block/ll_rw_blk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/ll_rw_blk.c b/drivers/block/ll_rw_blk.c
index 1e847151c3a3..fd94ea27d594 100644
--- a/drivers/block/ll_rw_blk.c
+++ b/drivers/block/ll_rw_blk.c
@@ -1969,7 +1969,6 @@ static struct request *get_request_wait(request_queue_t *q, int rw)
1969 DEFINE_WAIT(wait); 1969 DEFINE_WAIT(wait);
1970 struct request *rq; 1970 struct request *rq;
1971 1971
1972 generic_unplug_device(q);
1973 do { 1972 do {
1974 struct request_list *rl = &q->rq; 1973 struct request_list *rl = &q->rq;
1975 1974
@@ -1981,6 +1980,7 @@ static struct request *get_request_wait(request_queue_t *q, int rw)
1981 if (!rq) { 1980 if (!rq) {
1982 struct io_context *ioc; 1981 struct io_context *ioc;
1983 1982
1983 generic_unplug_device(q);
1984 io_schedule(); 1984 io_schedule();
1985 1985
1986 /* 1986 /*