aboutsummaryrefslogtreecommitdiffstats
path: root/block/as-iosched.c
diff options
context:
space:
mode:
Diffstat (limited to 'block/as-iosched.c')
-rw-r--r--block/as-iosched.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/block/as-iosched.c b/block/as-iosched.c
index 5da56d48fbd3..ad1cc4077819 100644
--- a/block/as-iosched.c
+++ b/block/as-iosched.c
@@ -1335,7 +1335,7 @@ static void as_add_request(request_queue_t *q, struct request *rq)
1335 arq->state = AS_RQ_NEW; 1335 arq->state = AS_RQ_NEW;
1336 1336
1337 if (rq_data_dir(arq->request) == READ 1337 if (rq_data_dir(arq->request) == READ
1338 || (arq->request->flags & REQ_RW_SYNC)) 1338 || (arq->request->cmd_flags & REQ_RW_SYNC))
1339 arq->is_sync = 1; 1339 arq->is_sync = 1;
1340 else 1340 else
1341 arq->is_sync = 0; 1341 arq->is_sync = 0;