Skip to content

Commit 4a6b35b

Browse files
author
Darrick J. Wong
committed
xfs: sync xfs_btree_split macros with userspace libxfs
Sync this one last bit of discrepancy between kernel and userspace libxfs. Signed-off-by: Darrick J. Wong <[email protected]> Reviewed-by: Eric Sandeen <[email protected]>
1 parent 29f11fc commit 4a6b35b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

fs/xfs/libxfs/xfs_btree.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2785,6 +2785,7 @@ __xfs_btree_split(
27852785
return error;
27862786
}
27872787

2788+
#ifdef __KERNEL__
27882789
struct xfs_btree_split_args {
27892790
struct xfs_btree_cur *cur;
27902791
int level;
@@ -2870,6 +2871,9 @@ xfs_btree_split(
28702871
destroy_work_on_stack(&args.work);
28712872
return args.result;
28722873
}
2874+
#else
2875+
#define xfs_btree_split __xfs_btree_split
2876+
#endif /* __KERNEL__ */
28732877

28742878

28752879
/*

0 commit comments

Comments
 (0)