[PATCH 34/49] xfs: make struct xfs_perag kernel only

Mark Tinguely tinguely at sgi.com
Fri Jul 26 08:32:09 CDT 2013


On 07/19/13 01:25, Dave Chinner wrote:
> From: Dave Chinner<dchinner at 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 at redhat.com>
> ---

moves the xfs_perag structure and adds a comment to why it is moved.

looks good.

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



More information about the xfs mailing list