diff options
author | Amir Goldstein <amir73il@gmail.com> | 2017-02-02 02:56:00 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-02-04 03:47:12 -0500 |
commit | 4fac84ba1da7aa62dea520dcedd4f6de117d8f2b (patch) | |
tree | 5c5bbcb852d5363e1f3e06e020e7f813b6a97b7e /fs | |
parent | e5325fcf70b1cd2c45503b854fde3f1bd44216da (diff) |
xfs: add missing include dependencies to xfs_dir2.h
commit b597dd5373a1ccc08218665dc8417433b1c09550 upstream.
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 <amir73il@gmail.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/xfs/libxfs/xfs_dir2.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/xfs/libxfs/xfs_dir2.h b/fs/xfs/libxfs/xfs_dir2.h index becc926c3e3d..6a3fe31d4bc2 100644 --- a/fs/xfs/libxfs/xfs_dir2.h +++ b/fs/xfs/libxfs/xfs_dir2.h | |||
@@ -18,6 +18,9 @@ | |||
18 | #ifndef __XFS_DIR2_H__ | 18 | #ifndef __XFS_DIR2_H__ |
19 | #define __XFS_DIR2_H__ | 19 | #define __XFS_DIR2_H__ |
20 | 20 | ||
21 | #include "xfs_da_format.h" | ||
22 | #include "xfs_da_btree.h" | ||
23 | |||
21 | struct xfs_defer_ops; | 24 | struct xfs_defer_ops; |
22 | struct xfs_da_args; | 25 | struct xfs_da_args; |
23 | struct xfs_inode; | 26 | struct xfs_inode; |