block: correct documentation for blkdev_issue_discard() flags
authorEric Biggers <ebiggers@google.com>
Mon, 23 Jan 2017 19:41:39 +0000 (11:41 -0800)
committerJens Axboe <axboe@fb.com>
Fri, 24 Mar 2017 21:41:28 +0000 (15:41 -0600)
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>
block/blk-lib.c

index ed1e78e24db0053e993555e14bf730c1cfb868c2..e5b853f2b8a25e3ca93ba39784b9cf3e1cf4afc3 100644 (file)
@@ -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.