]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
block: fix __get_request documentation
authorChristoph Hellwig <hch@lst.de>
Wed, 9 May 2018 07:54:04 +0000 (09:54 +0200)
committerJens Axboe <axboe@kernel.dk>
Mon, 14 May 2018 14:55:11 +0000 (08:55 -0600)
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-core.c

index 1418a1ccd80d176ae0736eff4e6953918bcd8b2c..e78560f04d77e23c5b227f58b4bfc6c410c4ee8d 100644 (file)
@@ -1516,7 +1516,7 @@ static struct request *__get_request(struct request_list *rl, unsigned int op,
  * @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,