diff options
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); } } |