From: Eric Biggers Date: Mon, 23 Jan 2017 19:41:39 +0000 (-0800) Subject: block: correct documentation for blkdev_issue_discard() flags X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e554911c2367f0896c1276cdca95610ec3392fce;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: Jens Axboe --- diff --git a/block/blk-lib.c b/block/blk-lib.c index ed1e78e24db0..e5b853f2b8a2 100644 --- a/block/blk-lib.c +++ b/block/blk-lib.c @@ -109,7 +109,7 @@ EXPORT_SYMBOL(__blkdev_issue_discard); * @sector: start sector * @nr_sects: number of sectors to discard * @gfp_mask: memory allocation flags (for bio_alloc) - * @flags: BLKDEV_IFL_* flags to control behaviour + * @flags: BLKDEV_DISCARD_* flags to control behaviour * * Description: * Issue a discard request for the sectors in question.