|
|
| version 1.436, 2008/05/20 04:35:18 | version 1.437, 2008/06/26 06:18:37 |
|---|---|
| Line 258 xfs_mount_validate_sb( | Line 258 xfs_mount_validate_sb( |
| return XFS_ERROR(EFSCORRUPTED); | return XFS_ERROR(EFSCORRUPTED); |
| } | } |
| /* | |
| * Until this is fixed only page-sized or smaller data blocks work. | |
| */ | |
| if (unlikely(sbp->sb_blocksize > PAGE_SIZE)) { | |
| xfs_fs_mount_cmn_err(flags, | |
| "file system with blocksize %d bytes", | |
| sbp->sb_blocksize); | |
| xfs_fs_mount_cmn_err(flags, | |
| "only pagesize (%ld) or less will currently work.", | |
| PAGE_SIZE); | |
| return XFS_ERROR(ENOSYS); | |
| } | |
| if (xfs_sb_validate_fsb_count(sbp, sbp->sb_dblocks) || | if (xfs_sb_validate_fsb_count(sbp, sbp->sb_dblocks) || |
| xfs_sb_validate_fsb_count(sbp, sbp->sb_rblocks)) { | xfs_sb_validate_fsb_count(sbp, sbp->sb_rblocks)) { |
| xfs_fs_mount_cmn_err(flags, | xfs_fs_mount_cmn_err(flags, |
| Line 279 xfs_mount_validate_sb( | Line 292 xfs_mount_validate_sb( |
| return XFS_ERROR(ENOSYS); | return XFS_ERROR(ENOSYS); |
| } | } |
| /* | |
| * Until this is fixed only page-sized or smaller data blocks work. | |
| */ | |
| if (unlikely(sbp->sb_blocksize > PAGE_SIZE)) { | |
| xfs_fs_mount_cmn_err(flags, | |
| "file system with blocksize %d bytes", | |
| sbp->sb_blocksize); | |
| xfs_fs_mount_cmn_err(flags, | |
| "only pagesize (%ld) or less will currently work.", | |
| PAGE_SIZE); | |
| return XFS_ERROR(ENOSYS); | |
| } | |
| return 0; | return 0; |
| } | } |