summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlijiazi <jqqlijiazi@gmail.com>2021-06-18 05:17:20 +0200
committerJens Axboe <axboe@kernel.dk>2021-06-18 18:45:33 +0200
commita79da21b48cc5f81b047ae4e70b4d9cb49c93a6a (patch)
treeea3cb3f04160b8f555764b7014ef214bc77e0bf0
parentblk-mq: fix an IS_ERR() vs NULL bug (diff)
downloadlinux-a79da21b48cc5f81b047ae4e70b4d9cb49c93a6a.tar.xz
linux-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>
-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.