diff options
Diffstat (limited to 'fs/xfs/xfs_dir2.c')
-rw-r--r-- | fs/xfs/xfs_dir2.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/fs/xfs/xfs_dir2.c b/fs/xfs/xfs_dir2.c index 7911136453cd..2b98a33ca383 100644 --- a/fs/xfs/xfs_dir2.c +++ b/fs/xfs/xfs_dir2.c | |||
@@ -113,12 +113,7 @@ xfs_dir_mount( | |||
113 | else | 113 | else |
114 | mp->m_dirnameops = &xfs_default_nameops; | 114 | mp->m_dirnameops = &xfs_default_nameops; |
115 | 115 | ||
116 | if (xfs_sb_version_hascrc(&mp->m_sb)) | 116 | mp->m_dir_inode_ops = xfs_dir_get_ops(mp, NULL); |
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; | ||
122 | } | 117 | } |
123 | 118 | ||
124 | /* | 119 | /* |