]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: make struct xfs_perag kernel only
authorDave Chinner <dchinner@redhat.com>
Wed, 4 Sep 2013 22:05:44 +0000 (22:05 +0000)
committerRich Johnston <rjohnston@sgi.com>
Mon, 16 Sep 2013 20:14:45 +0000 (15:14 -0500)
commitd43bc409a839ce5f25687f5dfddf4f92da5f1357
tree1230c232a913378b728831a48ff77193acedd8bc
parent86aa1f007b5a5ffc3cba318908310a9bbc38c821
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: Rich Johnston <rjohnston@sgi.com>
include/libxfs.h
include/xfs_ag.h