summaryrefslogtreecommitdiffstats
path: root/block/blk-core.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2018-05-09 09:54:04 +0200
committerJens Axboe <axboe@kernel.dk>2018-05-14 16:55:11 +0200
commita9a14d36714fe3669ad5a26faaca0cfaafb1c0f9 (patch)
treea5e154d46b9fa7ae3c3f42f1731dc343e859ac21 /block/blk-core.c
parentscsi/osd: remove the gfp argument to osd_start_request (diff)
downloadlinux-a9a14d36714fe3669ad5a26faaca0cfaafb1c0f9.tar.xz
linux-a9a14d36714fe3669ad5a26faaca0cfaafb1c0f9.zip
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/blk-core.c')
-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,