mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-11 21:38:32 +08:00
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 <djwong@kernel.org> Reviewed-by: Eric Sandeen <sandeen@redhat.com>
This commit is contained in:
parent
29f11fce21
commit
4a6b35b3b3
@ -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__ */
|
||||
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user