xfs/122: fix xfs header ordering problems
authorDarrick J. Wong <darrick.wong@oracle.com>
Wed, 24 Jan 2018 23:53:29 +0000 (15:53 -0800)
committerEryu Guan <eguan@redhat.com>
Thu, 25 Jan 2018 07:55:07 +0000 (15:55 +0800)
commita6b5c98da8c4b47831752657ef010b17622c8dd7
tree6a1363c2b96c9eeb1b97f317ecfa79b18a5da06f
parent074740a32c6a36c5ba7d4be66dd4ee63e9f744f3
xfs/122: fix xfs header ordering problems

XFS headers are supposed to be included in a certain order so that
inline functions actually compile correctly.  For the most part the
shell feeds us the files in an order that works, but with the
addition of the xfs_dir2_dirblock_bytes function this doesn't always
work now.  Therefore, explicitly #include the headers in the
required order.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Eryu Guan <eguan@redhat.com>
Signed-off-by: Eryu Guan <eguan@redhat.com>
tests/xfs/122