projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
block: add QUEUE_FLAG_NOWAIT
[linux-2.6-microblaze.git]
/
block
/
blk-core.c
diff --git
a/block/blk-core.c
b/block/blk-core.c
index
1cc4fa6
..
4884f1e
100644
(file)
--- a/
block/blk-core.c
+++ b/
block/blk-core.c
@@
-814,9
+814,9
@@
static noinline_for_stack bool submit_bio_checks(struct bio *bio)
/*
* For a REQ_NOWAIT based request, return -EOPNOTSUPP
/*
* For a REQ_NOWAIT based request, return -EOPNOTSUPP
- * if queue
is not a request based queue
.
+ * if queue
does not support NOWAIT
.
*/
*/
- if ((bio->bi_opf & REQ_NOWAIT) && !
queue_is_mq
(q))
+ if ((bio->bi_opf & REQ_NOWAIT) && !
blk_queue_nowait
(q))
goto not_supported;
if (should_fail_bio(bio))
goto not_supported;
if (should_fail_bio(bio))