From d386b32b553ce145fb40f0d9360b6e5a79b5a80c Mon Sep 17 00:00:00 2001 From: Dave Chinner Date: Mon, 12 Aug 2013 20:49:31 +1000 Subject: xfs: sync minor header differences needed by userspace. Little things like exported functions, __KERNEL__ protections, and so on that ensure user and kernel shared headers are identical. Signed-off-by: Dave Chinner Reviewed-by: Brian Foster Reviewed-by: Mark Tinguely Signed-off-by: Ben Myers --- fs/xfs/xfs_bmap.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'fs/xfs/xfs_bmap.h') diff --git a/fs/xfs/xfs_bmap.h b/fs/xfs/xfs_bmap.h index 1cf1292..314dca1 100644 --- a/fs/xfs/xfs_bmap.h +++ b/fs/xfs/xfs_bmap.h @@ -137,9 +137,11 @@ typedef struct xfs_bmalloca { char conv; /* overwriting unwritten extents */ char stack_switch; int flags; +#ifdef __KERNEL__ struct completion *done; struct work_struct work; int result; +#endif /* __KERNEL__ */ } xfs_bmalloca_t; /* -- cgit v1.1