diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2023-02-09 18:34:08 -0500 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-02-09 18:36:24 -0500 |
commit | a104f0407b7f5de54972389ef10e11dd8c525a96 (patch) | |
tree | 07c993aeedb4bfe4a52d6725a689a6b018d2b483 /include/linux/shrinker.h | |
parent | abe1c3bc8e116879a258bff2316cfb0586f15fec (diff) |
Update bcachefs sources to ea93c26e98 fixup! bcachefs: We can handle missing btree roots for all alloc btrees
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'include/linux/shrinker.h')
-rw-r--r-- | include/linux/shrinker.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/shrinker.h b/include/linux/shrinker.h index ebbab7a6..bca00d61 100644 --- a/include/linux/shrinker.h +++ b/include/linux/shrinker.h @@ -11,13 +11,13 @@ struct shrink_control { #define SHRINK_STOP (~0UL) -struct printbuf; +struct seq_buf; struct shrinker { unsigned long (*count_objects)(struct shrinker *, struct shrink_control *sc); unsigned long (*scan_objects)(struct shrinker *, struct shrink_control *sc); - void (*to_text)(struct printbuf *, struct shrinker *); + void (*to_text)(struct seq_buf *, struct shrinker *); int seeks; /* seeks to recreate an obj */ long batch; /* reclaim batch size, 0 = default */ |