aboutsummaryrefslogtreecommitdiffstats
path: root/block/blk-wbt.c
diff options
context:
space:
mode:
authorlijiazi <jqqlijiazi@gmail.com>2021-06-18 11:17:20 +0800
committerJens Axboe <axboe@kernel.dk>2021-06-18 10:45:33 -0600
commita79da21b48cc5f81b047ae4e70b4d9cb49c93a6a (patch)
treeea3cb3f04160b8f555764b7014ef214bc77e0bf0 /block/blk-wbt.c
parentblk-mq: fix an IS_ERR() vs NULL bug (diff)
downloadlinux-dev-a79da21b48cc5f81b047ae4e70b4d9cb49c93a6a.tar.xz
linux-dev-a79da21b48cc5f81b047ae4e70b4d9cb49c93a6a.zip
blk-wbt: remove outdated comment
Now wbt_wait() returns void, so remove now outdated comment. Signed-off-by: lijiazi <lijiazi@xiaomi.com> Link: https://lore.kernel.org/r/1623986240-13878-1-git-send-email-lijiazi@xiaomi.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-wbt.c')
-rw-r--r--block/blk-wbt.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/block/blk-wbt.c b/block/blk-wbt.c
index 42aed0160f86..b363b0532704 100644
--- a/block/blk-wbt.c
+++ b/block/blk-wbt.c
@@ -563,7 +563,6 @@ static void wbt_cleanup(struct rq_qos *rqos, struct bio *bio)
}
/*
- * Returns true if the IO request should be accounted, false if not.
* May sleep, if we have exceeded the writeback limits. Caller can pass
* in an irq held spinlock, if it holds one when calling this function.
* If we do sleep, we'll release and re-grab it.