Date: Fri, 8 Feb 2013 10:30:05 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org Subject: svn commit: r246541 - stable/9/sys/fs/msdosfs Message-ID: <201302081030.r18AU5An050824@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: kib Date: Fri Feb 8 10:30:04 2013 New Revision: 246541 URL: http://svnweb.freebsd.org/changeset/base/246541 Log: MFC r246216: The mountmsdosfs() function had an insane sanity test, remove it. Modified: stable/9/sys/fs/msdosfs/msdosfs_vfsops.c Directory Properties: stable/9/sys/ (props changed) stable/9/sys/fs/ (props changed) Modified: stable/9/sys/fs/msdosfs/msdosfs_vfsops.c ============================================================================== --- stable/9/sys/fs/msdosfs/msdosfs_vfsops.c Fri Feb 8 10:25:24 2013 (r246540) +++ stable/9/sys/fs/msdosfs/msdosfs_vfsops.c Fri Feb 8 10:30:04 2013 (r246541) @@ -553,8 +553,7 @@ mountmsdosfs(struct vnode *devvp, struct } if (pmp->pm_RootDirEnts == 0) { - if (pmp->pm_Sectors - || pmp->pm_FATsecs + if (pmp->pm_FATsecs || getushort(b710->bpbFSVers)) { error = EINVAL; #ifdef MSDOSFS_DEBUG
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201302081030.r18AU5An050824>