summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_symlink_remote.c
diff options
context:
space:
mode:
authorDave Chinner <dchinner@redhat.com>2013-08-12 20:49:55 +1000
committerBen Myers <bpm@sgi.com>2013-08-12 17:44:36 -0500
commit9356fe22af084e7b9c1f3c8633a1cbe9b36de405 (patch)
tree9565b714f4babcac4ca914418b61788d6b588eed /fs/xfs/xfs_symlink_remote.c
parent4f3d71f68bc976321b19efe2624cd91619af601f (diff)
downloadop-kernel-dev-9356fe22af084e7b9c1f3c8633a1cbe9b36de405.zip
op-kernel-dev-9356fe22af084e7b9c1f3c8633a1cbe9b36de405.tar.gz
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 <dchinner@redhat.com> Reviewed-by: Mark Tinguely <tinguely@sgi.com> Signed-off-by: Ben Myers <bpm@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_symlink_remote.c')
-rw-r--r--fs/xfs/xfs_symlink_remote.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/xfs/xfs_symlink_remote.c b/fs/xfs/xfs_symlink_remote.c
index a318524..01c85e3 100644
--- a/fs/xfs/xfs_symlink_remote.c
+++ b/fs/xfs/xfs_symlink_remote.c
@@ -21,6 +21,7 @@
#include "xfs_format.h"
#include "xfs_log.h"
#include "xfs_trans.h"
+#include "xfs_ag.h"
#include "xfs_sb.h"
#include "xfs_mount.h"
#include "xfs_bmap_btree.h"
OpenPOWER on IntegriCloud