summaryrefslogtreecommitdiff
path: root/block
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2018-05-09 10:54:04 +0300
committerJens Axboe <axboe@kernel.dk>2018-05-14 17:55:11 +0300
commita9a14d36714fe3669ad5a26faaca0cfaafb1c0f9 (patch)
treea5e154d46b9fa7ae3c3f42f1731dc343e859ac21 /block
parentac613e4566f9df3a8cf8b18e2dcc8af087143868 (diff)
downloadlinux-a9a14d36714fe3669ad5a26faaca0cfaafb1c0f9.tar.xz
block: fix __get_request documentation
Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block')
-rw-r--r--block/blk-core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/block/blk-core.c b/block/blk-core.c
index 1418a1ccd80d..e78560f04d77 100644
--- a/block/blk-core.c
+++ b/block/blk-core.c
@@ -1516,7 +1516,7 @@ rq_starved:
* @bio: bio to allocate request for (can be %NULL)
* @flags: BLK_MQ_REQ_* flags.
*
- * Get a free request from @q. If %__GFP_DIRECT_RECLAIM is set in @gfp_mask,
+ * Get a free request from @q. If %BLK_MQ_REQ_NOWAIT is set in @flags,
* this function keeps retrying under memory pressure and fails iff @q is dead.
*
* Must be called with @q->queue_lock held and,