summaryrefslogtreecommitdiffstats
path: root/block/blk-wbt.c
diff options
context:
space:
mode:
authorweiping zhang <zhangweiping@didichuxing.com>2017-11-23 14:40:10 +0100
committerJens Axboe <axboe@kernel.dk>2017-11-24 06:00:20 +0100
commit3dfbdc44d69b2cd7e382fd084a5c860d2cea24f6 (patch)
tree1395528f46f07acfad22640c9ae2a6f33a1736b6 /block/blk-wbt.c
parentblk-wbt: move wbt_clear_stat to common place in wbt_done (diff)
downloadlinux-3dfbdc44d69b2cd7e382fd084a5c860d2cea24f6.tar.xz
linux-3dfbdc44d69b2cd7e382fd084a5c860d2cea24f6.zip
blk-wbt: fix comments typo
Signed-off-by: weiping zhang <zhangweiping@didichuxing.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-wbt.c')
-rw-r--r--block/blk-wbt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/block/blk-wbt.c b/block/blk-wbt.c
index 19faecc5f8f6..ae8de9780085 100644
--- a/block/blk-wbt.c
+++ b/block/blk-wbt.c
@@ -481,7 +481,7 @@ static inline unsigned int get_limit(struct rq_wb *rwb, unsigned long rw)
/*
* At this point we know it's a buffered write. If this is
- * kswapd trying to free memory, or REQ_SYNC is set, set, then
+ * kswapd trying to free memory, or REQ_SYNC is set, then
* it's WB_SYNC_ALL writeback, and we'll use the max limit for
* that. If the write is marked as a background write, then use
* the idle limit, or go to normal if we haven't had competing