summaryrefslogtreecommitdiffstats
path: root/fs/bcachefs/util.h
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2018-09-25 23:27:57 -0400
committerKent Overstreet <kent.overstreet@linux.dev>2023-10-22 17:08:10 -0400
commitc2fcff5973c93af7ffa87ad28eca2fddd2be83c5 (patch)
treecec9c018bc69b9bf90f88394dca7a817c0e6d442 /fs/bcachefs/util.h
parentd06182cadb5bbd9ab7fa3d3e59608bb573bffbee (diff)
downloadlinux-stable-c2fcff5973c93af7ffa87ad28eca2fddd2be83c5.tar.gz
linux-stable-c2fcff5973c93af7ffa87ad28eca2fddd2be83c5.tar.bz2
linux-stable-c2fcff5973c93af7ffa87ad28eca2fddd2be83c5.zip
bcachefs: Fix suspend when moving data faster than ratelimit
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/util.h')
-rw-r--r--fs/bcachefs/util.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/bcachefs/util.h b/fs/bcachefs/util.h
index c0b26123af4c..446216eb8c76 100644
--- a/fs/bcachefs/util.h
+++ b/fs/bcachefs/util.h
@@ -377,7 +377,6 @@ static inline void bch2_ratelimit_reset(struct bch_ratelimit *d)
u64 bch2_ratelimit_delay(struct bch_ratelimit *);
void bch2_ratelimit_increment(struct bch_ratelimit *, u64);
-int bch2_ratelimit_wait_freezable_stoppable(struct bch_ratelimit *);
struct bch_pd_controller {
struct bch_ratelimit rate;