From: Dave Chinner Date: Mon, 12 Aug 2013 10:49:55 +0000 (+1000) Subject: xfs: make struct xfs_perag kernel only X-Git-Tag: v3.12-rc1~80^2~72 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9356fe22af084e7b9c1f3c8633a1cbe9b36de405;p=pandora-kernel.git xfs: make struct xfs_perag kernel only 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 Reviewed-by: Mark Tinguely Signed-off-by: Ben Myers --- Reading git-diff-tree failed