xfs: move kernel specific type definitions to xfs.h
authorDave Chinner <dchinner@redhat.com>
Mon, 12 Aug 2013 10:49:54 +0000 (20:49 +1000)
committerBen Myers <bpm@sgi.com>
Mon, 12 Aug 2013 22:04:08 +0000 (17:04 -0500)
commit4f3d71f68bc976321b19efe2624cd91619af601f
tree177701e32b849b2ae80e0eac127f8d7bbef3a947
parent9b90b0d9da907a1810e7b7764befaf084e4cd45b
xfs: move kernel specific type definitions to xfs.h

xfs_types.h is shared with userspace, so having kernel specific
types defined in it is problematic. Move all the kernel specific
defines to xfs_linux.h so we can remove the __KERNEL__ guards from
xfs_types.h.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Mark Tinguely <tinguely@sgi.com>
Signed-off-by: Ben Myers <bpm@sgi.com>
fs/xfs/xfs_linux.h
fs/xfs/xfs_types.h