Explorar el Código

block: fix __get_request documentation

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Christoph Hellwig hace 7 años
padre
commit
a9a14d3671
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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)
  * @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,