aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_sb.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/xfs/xfs_sb.c')
-rw-r--r--fs/xfs/xfs_sb.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/fs/xfs/xfs_sb.c b/fs/xfs/xfs_sb.c
index 8baf61afae1d..de16dd558195 100644
--- a/fs/xfs/xfs_sb.c
+++ b/fs/xfs/xfs_sb.c
@@ -333,15 +333,6 @@ xfs_mount_validate_sb(
333 xfs_warn(mp, "Offline file system operation in progress!"); 333 xfs_warn(mp, "Offline file system operation in progress!");
334 return XFS_ERROR(EFSCORRUPTED); 334 return XFS_ERROR(EFSCORRUPTED);
335 } 335 }
336
337 /*
338 * Version 1 directory format has never worked on Linux.
339 */
340 if (unlikely(!xfs_sb_version_hasdirv2(sbp))) {
341 xfs_warn(mp, "file system using version 1 directory format");
342 return XFS_ERROR(ENOSYS);
343 }
344
345 return 0; 336 return 0;
346} 337}
347 338