Skip to content

Commit a9a14d3

Browse files
Christoph Hellwigaxboe
authored andcommitted
block: fix __get_request documentation
Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>
1 parent ac613e4 commit a9a14d3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎block/blk-core.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1516,7 +1516,7 @@ static struct request *__get_request(struct request_list *rl, unsigned int op,
15161516
* @bio: bio to allocate request for (can be %NULL)
15171517
* @flags: BLK_MQ_REQ_* flags.
15181518
*
1519-
* Get a free request from @q. If %__GFP_DIRECT_RECLAIM is set in @gfp_mask,
1519+
* Get a free request from @q. If %BLK_MQ_REQ_NOWAIT is set in @flags,
15201520
* this function keeps retrying under memory pressure and fails iff @q is dead.
15211521
*
15221522
* Must be called with @q->queue_lock held and,

0 commit comments

Comments
 (0)