diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2025-07-15 16:22:37 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2025-07-15 18:41:03 -0400 |
commit | 8471005b9fadfccd4c848ad71c899b90793b554d (patch) | |
tree | 92012871d9d0b2086c09d9d31a9f30252fd28bb8 /libbcachefs/enumerated_ref.c | |
parent | 9becf21b43af0091a81b07f927f7527190508d1f (diff) |
Update bcachefs sources to deeffbdc52f1 bcachefs: better device too small error message
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'libbcachefs/enumerated_ref.c')
-rw-r--r-- | libbcachefs/enumerated_ref.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libbcachefs/enumerated_ref.c b/libbcachefs/enumerated_ref.c index 56ab430f..2ded7413 100644 --- a/libbcachefs/enumerated_ref.c +++ b/libbcachefs/enumerated_ref.c @@ -75,13 +75,11 @@ void enumerated_ref_stop(struct enumerated_ref *ref, { enumerated_ref_stop_async(ref); while (!wait_for_completion_timeout(&ref->stop_complete, HZ * 10)) { - struct printbuf buf = PRINTBUF; - + CLASS(printbuf, buf)(); prt_str(&buf, "Waited for 10 seconds to shutdown enumerated ref\n"); prt_str(&buf, "Outstanding refs:\n"); enumerated_ref_to_text(&buf, ref, names); printk(KERN_ERR "%s", buf.buf); - printbuf_exit(&buf); } } |