aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/libxfs/xfs_dir2.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/xfs/libxfs/xfs_dir2.h')
-rw-r--r--fs/xfs/libxfs/xfs_dir2.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/fs/xfs/libxfs/xfs_dir2.h b/fs/xfs/libxfs/xfs_dir2.h
index 6a3fe31d4bc2..0051a34b8c3f 100644
--- a/fs/xfs/libxfs/xfs_dir2.h
+++ b/fs/xfs/libxfs/xfs_dir2.h
@@ -35,10 +35,9 @@ struct xfs_dir2_data_unused;
35extern struct xfs_name xfs_name_dotdot; 35extern struct xfs_name xfs_name_dotdot;
36 36
37/* 37/*
38 * directory filetype conversion tables. 38 * Convert inode mode to directory entry filetype
39 */ 39 */
40#define S_SHIFT 12 40extern const unsigned char xfs_mode_to_ftype(int mode);
41extern const unsigned char xfs_mode_to_ftype[];
42 41
43/* 42/*
44 * directory operations vector for encode/decode routines 43 * directory operations vector for encode/decode routines