block: correct documentation for blkdev_issue_discard() flags

BLKDEV_IFL_* flags no longer exist; blkdev_issue_discard() now actually
takes BLKDEV_DISCARD_* flags.

Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
This commit is contained in:
Eric Biggers 2017-01-23 11:41:39 -08:00 committed by Jens Axboe
parent 0a3ef9db64
commit e554911c23
1 changed files with 1 additions and 1 deletions

View File

@ -109,7 +109,7 @@ EXPORT_SYMBOL(__blkdev_issue_discard);
* @sector: start sector * @sector: start sector
* @nr_sects: number of sectors to discard * @nr_sects: number of sectors to discard
* @gfp_mask: memory allocation flags (for bio_alloc) * @gfp_mask: memory allocation flags (for bio_alloc)
* @flags: BLKDEV_IFL_* flags to control behaviour * @flags: BLKDEV_DISCARD_* flags to control behaviour
* *
* Description: * Description:
* Issue a discard request for the sectors in question. * Issue a discard request for the sectors in question.