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 9b13d72ffefa..56c99fa037df 100644
--- a/block/as-iosched.c
+++ b/block/as-iosched.c
@@ -1339,7 +1339,7 @@ static void as_add_request(request_queue_t *q, struct request *rq)
1339 arq->state = AS_RQ_NEW; 1339 arq->state = AS_RQ_NEW;
1340 1340
1341 if (rq_data_dir(arq->request) == READ 1341 if (rq_data_dir(arq->request) == READ
1342 || current->flags&PF_SYNCWRITE) 1342 || (arq->request->flags & REQ_RW_SYNC))
1343 arq->is_sync = 1; 1343 arq->is_sync = 1;
1344 else 1344 else
1345 arq->is_sync = 0; 1345 arq->is_sync = 0;