diff options
Diffstat (limited to 'fs/xfs/xfs_dir2.c')
-rw-r--r-- | fs/xfs/xfs_dir2.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/fs/xfs/xfs_dir2.c b/fs/xfs/xfs_dir2.c index 38bf9324302c..7911136453cd 100644 --- a/fs/xfs/xfs_dir2.c +++ b/fs/xfs/xfs_dir2.c | |||
@@ -112,6 +112,13 @@ xfs_dir_mount( | |||
112 | mp->m_dirnameops = &xfs_ascii_ci_nameops; | 112 | mp->m_dirnameops = &xfs_ascii_ci_nameops; |
113 | else | 113 | else |
114 | mp->m_dirnameops = &xfs_default_nameops; | 114 | mp->m_dirnameops = &xfs_default_nameops; |
115 | |||
116 | if (xfs_sb_version_hascrc(&mp->m_sb)) | ||
117 | mp->m_dir_inode_ops = &xfs_dir3_ops; | ||
118 | else if (xfs_sb_version_hasftype(&mp->m_sb)) | ||
119 | mp->m_dir_inode_ops = &xfs_dir2_ftype_ops; | ||
120 | else | ||
121 | mp->m_dir_inode_ops = &xfs_dir2_ops; | ||
115 | } | 122 | } |
116 | 123 | ||
117 | /* | 124 | /* |