Commit 4a6b35b3 authored by Darrick J. Wong's avatar Darrick J. Wong

xfs: sync xfs_btree_split macros with userspace libxfs

Sync this one last bit of discrepancy between kernel and userspace
libxfs.
Signed-off-by: default avatarDarrick J. Wong <djwong@kernel.org>
Reviewed-by: default avatarEric Sandeen <sandeen@redhat.com>
parent 29f11fce
...@@ -2785,6 +2785,7 @@ __xfs_btree_split( ...@@ -2785,6 +2785,7 @@ __xfs_btree_split(
return error; return error;
} }
#ifdef __KERNEL__
struct xfs_btree_split_args { struct xfs_btree_split_args {
struct xfs_btree_cur *cur; struct xfs_btree_cur *cur;
int level; int level;
...@@ -2870,6 +2871,9 @@ xfs_btree_split( ...@@ -2870,6 +2871,9 @@ xfs_btree_split(
destroy_work_on_stack(&args.work); destroy_work_on_stack(&args.work);
return args.result; return args.result;
} }
#else
#define xfs_btree_split __xfs_btree_split
#endif /* __KERNEL__ */
/* /*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment