Browse Source

block: fix __get_request documentation

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Christoph Hellwig 7 years ago
parent
commit
a9a14d3671
1 changed files with 1 additions and 1 deletions
  1. 1 1
      block/blk-core.c

+ 1 - 1
block/blk-core.c

@@ -1516,7 +1516,7 @@ rq_starved:
  * @bio: bio to allocate request for (can be %NULL)
  * @bio: bio to allocate request for (can be %NULL)
  * @flags: BLK_MQ_REQ_* flags.
  * @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.
  * this function keeps retrying under memory pressure and fails iff @q is dead.
  *
  *
  * Must be called with @q->queue_lock held and,
  * Must be called with @q->queue_lock held and,