xfs
[Top] [All Lists]

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

To: Dave Chinner <david@xxxxxxxxxxxxx>
Subject: Re: [PATCH 40/49] xfs: make struct xfs_perag kernel only
From: Mark Tinguely <tinguely@xxxxxxx>
Date: Tue, 06 Aug 2013 11:28:37 -0500
Cc: xfs@xxxxxxxxxxx
Delivered-to: xfs@xxxxxxxxxxx
In-reply-to: <1374216324-8781-41-git-send-email-david@xxxxxxxxxxxxx>
References: <1374216324-8781-1-git-send-email-david@xxxxxxxxxxxxx> <1374216324-8781-41-git-send-email-david@xxxxxxxxxxxxx>
User-agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:9.0) Gecko/20120122 Thunderbird/9.0
On 07/19/13 01:45, Dave Chinner wrote:
From: Dave Chinner<dchinner@xxxxxxxxxx>

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@xxxxxxxxxx>
---

user equivalent of the for Linux 3.12 kernel patch 34/49

looks okay.

<Prev in Thread] Current Thread [Next in Thread>
  • Re: [PATCH 40/49] xfs: make struct xfs_perag kernel only, Mark Tinguely <=