diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2007-11-26 00:30:45 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2007-11-26 00:30:45 +0000 |
commit | 99755e53931851f3e2271391f80456f62bd7d600 (patch) | |
tree | a491e47a843affa68d62d60db530017cc630bbad /sys/msdosfs | |
parent | 59e9d416df56e7e25b6c94625ec9439a6483280c (diff) |
Fix jsg@'s iRiver Clix by relaxing the test for SecPerTrack to allow
64 instead of 63. deraadt@, weingart@, millert@, thib@, miod@ ok with
eliminating test entirely but tom@'s voice of caution wins out for the
quick commit. Tested by jsg@ to confirm it fixes his device.
Diffstat (limited to 'sys/msdosfs')
-rw-r--r-- | sys/msdosfs/msdosfs_vfsops.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/msdosfs/msdosfs_vfsops.c b/sys/msdosfs/msdosfs_vfsops.c index 292af07dac6..d2dbf43dd5e 100644 --- a/sys/msdosfs/msdosfs_vfsops.c +++ b/sys/msdosfs/msdosfs_vfsops.c @@ -1,4 +1,4 @@ -/* $OpenBSD: msdosfs_vfsops.c,v 1.49 2007/11/15 19:11:52 deraadt Exp $ */ +/* $OpenBSD: msdosfs_vfsops.c,v 1.50 2007/11/26 00:30:44 krw Exp $ */ /* $NetBSD: msdosfs_vfsops.c,v 1.48 1997/10/18 02:54:57 briggs Exp $ */ /*- @@ -324,7 +324,7 @@ msdosfs_mountfs(devvp, mp, p, argp) /* Determine the number of DEV_BSIZE blocks in a MSDOSFS sector */ pmp->pm_BlkPerSec = pmp->pm_BytesPerSec / DEV_BSIZE; - if (!pmp->pm_BytesPerSec || !SecPerClust || pmp->pm_SecPerTrack > 63) { + if (!pmp->pm_BytesPerSec || !SecPerClust || pmp->pm_SecPerTrack > 64) { error = EFTYPE; goto error_exit; } |