]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
blk-wbt: fix comments typo
authorweiping zhang <zhangweiping@didichuxing.com>
Thu, 23 Nov 2017 13:40:10 +0000 (21:40 +0800)
committerJens Axboe <axboe@kernel.dk>
Fri, 24 Nov 2017 05:00:20 +0000 (22:00 -0700)
Signed-off-by: weiping zhang <zhangweiping@didichuxing.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-wbt.c

index 19faecc5f8f6f04250000877f141880f273d023a..ae8de9780085ae7b8e99237ed16fc9cd02b233a5 100644 (file)
@@ -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