summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTao Ma <boyu.mt@taobao.com>2011-03-11 20:13:54 +0100
committerJens Axboe <jaxboe@fusionio.com>2011-03-11 20:13:54 +0100
commiteba2ed9c9636d9e7ed203a2498ed230b48341709 (patch)
treec989fdc098b09947888f67badbfeecb1e04cd1fc
parent805f6b5e1cbfedfb9b3d354013e7f4b13a79270f (diff)
downloadlinux-eba2ed9c9636d9e7ed203a2498ed230b48341709.tar.gz
linux-eba2ed9c9636d9e7ed203a2498ed230b48341709.tar.bz2
linux-eba2ed9c9636d9e7ed203a2498ed230b48341709.zip
block: remove obsolete comments for blkdev_issue_zeroout.
barrier is already removed, so remove the obsolete comments in blkdev_issue_zeroout. Cc: Jens Axboe <jaxboe@fusionio.com> Signed-off-by: Tao Ma <boyu.mt@taobao.com> Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
-rw-r--r--block/blk-lib.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/block/blk-lib.c b/block/blk-lib.c
index eec78becb355..cb56c4e5b494 100644
--- a/block/blk-lib.c
+++ b/block/blk-lib.c
@@ -140,8 +140,6 @@ static void bio_batch_end_io(struct bio *bio, int err)
*
* Description:
* Generate and issue number of bios with zerofiled pages.
- * Send barrier at the beginning and at the end if requested. This guarantie
- * correct request ordering. Empty barrier allow us to avoid post queue flush.
*/
int blkdev_issue_zeroout(struct block_device *bdev, sector_t sector,