From: Amir Goldstein Date: Thu, 26 Jan 2017 02:02:41 +0000 (-0600) Subject: xfs: add missing include dependencies to xfs_dir2.h X-Git-Tag: v4.10.0-rc1~24 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3e86cfde198e2cf8f79a12451ff7da0e89f69176;p=thirdparty%2Fxfsprogs-dev.git xfs: add missing include dependencies to xfs_dir2.h Source kernel commit: b597dd5373a1ccc08218665dc8417433b1c09550 xfs_dir2.h dereferences some data types in inline functions and fails to include those type definitions, e.g.: xfs_dir2_data_aoff_t, struct xfs_da_geometry. Signed-off-by: Amir Goldstein Reviewed-by: Christoph Hellwig Reviewed-by: Darrick J. Wong Signed-off-by: Darrick J. Wong Signed-off-by: Eric Sandeen --- diff --git a/libxfs/xfs_dir2.h b/libxfs/xfs_dir2.h index 0197590fa..72df0dc1b 100644 --- a/libxfs/xfs_dir2.h +++ b/libxfs/xfs_dir2.h @@ -18,6 +18,9 @@ #ifndef __XFS_DIR2_H__ #define __XFS_DIR2_H__ +#include "xfs_da_format.h" +#include "xfs_da_btree.h" + struct xfs_defer_ops; struct xfs_da_args; struct xfs_inode;