]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
block: remove outdated part of blkdev_issue_flush() comment
authorEric Biggers <ebiggers@google.com>
Mon, 23 Jan 2017 19:43:21 +0000 (11:43 -0800)
committerJens Axboe <axboe@fb.com>
Fri, 24 Mar 2017 21:41:30 +0000 (15:41 -0600)
blkdev_issue_flush() is now always synchronous, and it no longer has a
flags argument.  So remove the part of the comment about the WAIT flag.

Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
block/blk-flush.c

index 0d5a9c1da1fc71db5706926e69e2a22b7491eea9..4e951d3bf548f04b4485c021bf38c4666114e909 100644 (file)
@@ -497,8 +497,7 @@ void blk_insert_flush(struct request *rq)
  * Description:
  *    Issue a flush for the block device in question. Caller can supply
  *    room for storing the error offset in case of a flush error, if they
- *    wish to. If WAIT flag is not passed then caller may check only what
- *    request was pushed in some internal queue for later handling.
+ *    wish to.
  */
 int blkdev_issue_flush(struct block_device *bdev, gfp_t gfp_mask,
                sector_t *error_sector)