projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
29f11fc
)
xfs: sync xfs_btree_split macros with userspace libxfs
author
Darrick J. Wong
<djwong@kernel.org>
Wed, 10 Nov 2021 02:32:17 +0000
(18:32 -0800)
committer
Darrick J. Wong
<djwong@kernel.org>
Thu, 11 Nov 2021 17:13:39 +0000
(09:13 -0800)
Sync this one last bit of discrepancy between kernel and userspace
libxfs.
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Eric Sandeen <sandeen@redhat.com>
fs/xfs/libxfs/xfs_btree.c
patch
|
blob
|
history
diff --git
a/fs/xfs/libxfs/xfs_btree.c
b/fs/xfs/libxfs/xfs_btree.c
index
b4e19aa
..
f18a875
100644
(file)
--- a/
fs/xfs/libxfs/xfs_btree.c
+++ b/
fs/xfs/libxfs/xfs_btree.c
@@
-2785,6
+2785,7
@@
error0:
return error;
}
+#ifdef __KERNEL__
struct xfs_btree_split_args {
struct xfs_btree_cur *cur;
int level;
@@
-2870,6
+2871,9
@@
xfs_btree_split(
destroy_work_on_stack(&args.work);
return args.result;
}
+#else
+#define xfs_btree_split __xfs_btree_split
+#endif /* __KERNEL__ */
/*