]> err.no Git - linux-2.6/commit
[XFS] Don't assert if trying to mount with blocksize > pagesize
authorLachlan McIlroy <lachlan@sgi.com>
Fri, 27 Jun 2008 03:34:34 +0000 (13:34 +1000)
committerNiv Sardi <xaiki@debian.org>
Mon, 28 Jul 2008 06:59:15 +0000 (16:59 +1000)
commit2edbddd5f46cc123b68c11179115041c54759fa2
tree845f418fd623875c5a39f0faf823114364e53de8
parent8f8670bb1cfa177d35c54e4cc96152dc425a7ab3
[XFS] Don't assert if trying to mount with blocksize > pagesize

If we don't do the blocksize/PAGESIZE check before calling
xfs_sb_validate_fsb_count() we can assert if we try to mount with a
blocksize > pagesize. The assert is valid so leave it and just move the
blocksize/pagesize check earlier.

SGI-PV: 983734

SGI-Modid: xfs-linux-melb:xfs-kern:31365a

Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
Signed-off-by: David Chinner <dgc@sgi.com>
fs/xfs/xfs_mount.c