| To: | Dave Chinner <david@xxxxxxxxxxxxx> |
|---|---|
| Subject: | Re: [PATCH 40/55] xfs: make struct xfs_perag kernel only |
| From: | Mark Tinguely <tinguely@xxxxxxx> |
| Date: | Fri, 06 Sep 2013 13:06:21 -0500 |
| Cc: | xfs@xxxxxxxxxxx |
| Delivered-to: | xfs@xxxxxxxxxxx |
| In-reply-to: | <1378332359-14737-41-git-send-email-david@xxxxxxxxxxxxx> |
| References: | <1378332359-14737-1-git-send-email-david@xxxxxxxxxxxxx> <1378332359-14737-41-git-send-email-david@xxxxxxxxxxxxx> |
| User-agent: | Mozilla/5.0 (X11; FreeBSD amd64; rv:9.0) Gecko/20120122 Thunderbird/9.0 |
On 09/04/13 17:05, 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> --- 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 betweenxfs_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@xxxxxxx> |
| Previous by Date: | Re: [PATCH 39/55] xfs: move kernel specific type definitions to xfs.h, Mark Tinguely |
|---|---|
| Next by Date: | Re: [PATCH 31/55] libxfs: switch over to xfs_sb.c and remove xfs_mount.c, Mark Tinguely |
| Previous by Thread: | [PATCH 40/55] xfs: make struct xfs_perag kernel only, Dave Chinner |
| Next by Thread: | Re: [PATCH 40/55] xfs: make struct xfs_perag kernel only, Dave Chinner |
| Indexes: | [Date] [Thread] [Top] [All Lists] |