projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f8d5ed
)
bcachefs: Fix fsck.c build in userspace
author
Kent Overstreet
<kent.overstreet@linux.dev>
Sat, 30 Nov 2024 02:12:47 +0000
(21:12 -0500)
committer
Kent Overstreet
<kent.overstreet@linux.dev>
Sat, 21 Dec 2024 06:36:21 +0000
(
01:36
-0500)
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/fsck.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/bcachefs/fsck.c
b/fs/bcachefs/fsck.c
index f2174528ee5f095a3689e72ef4e9ca7aaf6c8fff..cc15ff135cd6da78205675f8411bb444da351a66 100644
(file)
--- a/
fs/bcachefs/fsck.c
+++ b/
fs/bcachefs/fsck.c
@@
-3206,6
+3206,8
@@
int bch2_fix_reflink_p(struct bch_fs *c)
return ret;
}
+#ifndef NO_BCACHEFS_CHARDEV
+
struct fsck_thread {
struct thread_with_stdio thr;
struct bch_fs *c;
@@
-3421,3
+3423,5
@@
err:
}
return ret;
}
+
+#endif /* NO_BCACHEFS_CHARDEV */