block: correct documentation for blkdev_issue_discard() flags
PATCH 1/1 block: correct documentation for blkdev_issue_discard() flags
From: Eric Biggers <[email protected]>
BLKDEV_IFL_* flags no longer exist; blkdev_issue_discard() now actually takes BLKDEV_DISCARD_* flags.
Signed-off-by Eric Biggers <[email protected]>
--- block/blk-lib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
block/blk-lib.c +1 -1
@@ -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.
Signature · 1 line
2.11.0.483.g087da7b7c-goog
Quoted 26 lines · Eric Biggers
From: Eric Biggers <[email protected]>
BLKDEV_IFL_* flags no longer exist;
blkdev_issue_discard()now actually takes BLKDEV_DISCARD_* flags.Signed-off-by Eric Biggers <[email protected]>--- block/blk-lib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)block/blk-lib.c +1
-1@@ -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. Signature · 1 line
2.11.0.483.g087da7b7c-goog
Ping?
Jens Axboe
maintainerQuoted 21 lines · Eric Biggers
Quoted 20 lines · Eric Biggers
From: Eric Biggers <[email protected]>
BLKDEV_IFL_* flags no longer exist;
blkdev_issue_discard()now actually takes BLKDEV_DISCARD_* flags.Signed-off-by Eric Biggers <[email protected]>--- block/blk-lib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)block/blk-lib.c +1
-1@@ -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
Quoted 8 lines
Quoted 6 lines
block/blk-lib.c +0
-0* * Description: * Issue a discard request for the sectors in question. Signature · 1 line
2.11.0.483.g087da7b7c-googPing?
Sorry, looks like that got lost. I've applied this, and your other patch. Thanks for the reminder!
Signature · 1 line
Jens Axboe