29 lines
890 B
Diff
29 lines
890 B
Diff
From 1a7e03622b24f52ac9991bf5eb9b5345776d1fb2 Mon Sep 17 00:00:00 2001
|
|
From: Kent Overstreet <kent.overstreet@linux.dev>
|
|
Date: Thu, 28 Nov 2024 16:09:04 -0500
|
|
Subject: [PATCH 138/233] bcachefs: add missing printbuf_reset()
|
|
Content-Type: text/plain; charset="utf-8"
|
|
Content-Transfer-Encoding: 8bit
|
|
|
|
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
|
|
Signed-off-by: Alexander Miroshnichenko <alex@millerson.name>
|
|
---
|
|
fs/bcachefs/btree_gc.c | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
diff --git a/fs/bcachefs/btree_gc.c b/fs/bcachefs/btree_gc.c
|
|
index 19db4d8aca88..e59924cfe2bc 100644
|
|
--- a/fs/bcachefs/btree_gc.c
|
|
+++ b/fs/bcachefs/btree_gc.c
|
|
@@ -521,6 +521,7 @@ int bch2_check_topology(struct bch_fs *c)
|
|
struct btree_root *r = bch2_btree_id_root(c, i);
|
|
bool reconstructed_root = false;
|
|
|
|
+ printbuf_reset(&buf);
|
|
bch2_btree_id_to_text(&buf, i);
|
|
|
|
if (r->error) {
|
|
--
|
|
2.45.2
|
|
|