summaryrefslogtreecommitdiff
path: root/libbcachefs/error.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2024-03-16 19:29:22 -0400
committerKent Overstreet <kent.overstreet@linux.dev>2024-03-16 19:40:33 -0400
commitabfdc593a532abaa40ac6ca87c1e0c86459f8c87 (patch)
tree4db627c2564af70a98c53c5747e543a7b04465c2 /libbcachefs/error.c
parentf1e87c66af3ab12ba7bdb0cc61436c8263e08c85 (diff)
Update bcachefs sources to 83338f5b2cb8 bcachefs: fix for building in userspace
Diffstat (limited to 'libbcachefs/error.c')
-rw-r--r--libbcachefs/error.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libbcachefs/error.c b/libbcachefs/error.c
index 8ae95b21..04343120 100644
--- a/libbcachefs/error.c
+++ b/libbcachefs/error.c
@@ -3,7 +3,7 @@
#include "error.h"
#include "recovery.h"
#include "super.h"
-#include <linux/thread_with_file.h>
+#include "thread_with_file.h"
#define FSCK_ERR_RATELIMIT_NR 10
@@ -111,7 +111,7 @@ static enum ask_yn bch2_fsck_ask_yn(struct bch_fs *c)
do {
bch2_print(c, " (y,n, or Y,N for all errors of this type) ");
- int r = stdio_redirect_readline(stdio, buf, sizeof(buf) - 1);
+ int r = bch2_stdio_redirect_readline(stdio, buf, sizeof(buf) - 1);
if (r < 0)
return YN_NO;
buf[r] = '\0';