diff options
Diffstat (limited to 'fs/xfs/libxfs/xfs_dir2.h')
| -rw-r--r-- | fs/xfs/libxfs/xfs_dir2.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/fs/xfs/libxfs/xfs_dir2.h b/fs/xfs/libxfs/xfs_dir2.h index 0197590fa7d7..d6e6d9d16f6c 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; |
| @@ -32,10 +35,9 @@ struct xfs_dir2_data_unused; | |||
| 32 | extern struct xfs_name xfs_name_dotdot; | 35 | extern struct xfs_name xfs_name_dotdot; |
| 33 | 36 | ||
| 34 | /* | 37 | /* |
| 35 | * directory filetype conversion tables. | 38 | * Convert inode mode to directory entry filetype |
| 36 | */ | 39 | */ |
| 37 | #define S_SHIFT 12 | 40 | extern unsigned char xfs_mode_to_ftype(int mode); |
| 38 | extern const unsigned char xfs_mode_to_ftype[]; | ||
| 39 | 41 | ||
| 40 | /* | 42 | /* |
| 41 | * directory operations vector for encode/decode routines | 43 | * directory operations vector for encode/decode routines |
