Re: [PATCH 40/55] xfs: make struct xfs_perag kernel only

Mark Tinguely
2013-09-06T18:06:24Z

On 09/04/13 17:05, Dave Chinner wrote:
> From: Dave Chinner<dchinner@redhat.com>
>
> The struct xfs_perag has many kernel-only definitions in it,
> requiring a __KERNEL__ guard so userspace can use it to. Move it to
> xfs_mount.h so that it it kernel-only, and let userspace redefine
> it's own version of the structure containing only what it needs.
> This gets rid of another __KERNEL__ check in the XFS header files.
>
> Signed-off-by: Dave Chinner<dchinner@redhat.com>
> ---

Yeah, this is the end of the kernel / user sync part of the series.
Thanks Dave.

The major difference seem to come from this series user patch 31/55.

Other differences between kernel/user header/sources are in:
include major difference to TOT:
struct xfs_perag is in xfs_ag.h user and xfs_mount.h in kernel.

some differences between
xfs_alloc_btree.c xfs_bmap_btree.c xfs_btree.c xfs_ialloc_btree.c
xfs_inode_buf.c xfs_rtalloc.c

Reviewed-by: Mark Tinguely <tinguely@sgi.com>