Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 932
b: refs/heads/master
c: de20614
h: refs/heads/master
v: v3
  • Loading branch information
Nathan Scott authored and Christoph Hellwig committed May 5, 2005
1 parent cab1f72 commit 8eaae46
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 71bce256bf2e2aaddf54a2f4ac216329c74be3ad
refs/heads/master: de20614b351e4d4d23af0a105baa8fd2d7cd4f26
9 changes: 9 additions & 0 deletions trunk/fs/xfs/xfs_mount.c
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,15 @@ xfs_mount_validate_sb(
return XFS_ERROR(EFSCORRUPTED);
}

/*
* Version 1 directory format has never worked on Linux.
*/
if (unlikely(!XFS_SB_VERSION_HASDIRV2(sbp))) {
cmn_err(CE_WARN,
"XFS: Attempted to mount file system using version 1 directory format");
return XFS_ERROR(ENOSYS);
}

/*
* Until this is fixed only page-sized or smaller data blocks work.
*/
Expand Down

0 comments on commit 8eaae46

Please sign in to comment.