From a053ebfb8c89e023a44c365e369f4053cfc53376 Mon Sep 17 00:00:00 2001 From: Kent Overstreet Date: Sat, 23 Sep 2023 18:42:30 -0400 Subject: Update bcachefs sources to f9c612bbf82d bcachefs: Fixes for building in userspace Signed-off-by: Kent Overstreet --- libbcachefs/rebalance.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'libbcachefs/rebalance.c') diff --git a/libbcachefs/rebalance.c b/libbcachefs/rebalance.c index 15ce3ecb..568f1e8e 100644 --- a/libbcachefs/rebalance.c +++ b/libbcachefs/rebalance.c @@ -8,8 +8,6 @@ #include "compress.h" #include "disk_groups.h" #include "errcode.h" -#include "extents.h" -#include "io.h" #include "move.h" #include "rebalance.h" #include "super-io.h" @@ -350,7 +348,7 @@ int bch2_rebalance_start(struct bch_fs *c) p = kthread_create(bch2_rebalance_thread, c, "bch-rebalance/%s", c->name); ret = PTR_ERR_OR_ZERO(p); if (ret) { - bch_err(c, "error creating rebalance thread: %s", bch2_err_str(ret)); + bch_err_msg(c, ret, "creating rebalance thread"); return ret; } -- cgit v1.2.3