freebsd-dev/sys/fs/msdosfs
Konstantin Belousov 48efa33b49 The mountmsdosfs() function had an insane sanity test, remove it.
Trying FAT32 on a small partition failed to mount because
pmp->pm_Sectors was nonzero.  Normally, FAT32 file systems are so
large that the 16-bit pm_Sectors can't hold the size.  This is
indicated by setting it to 0 and using only pm_HugeSectors.  But at
least old versions of newfs_msdos use the 16-bit field if possible,
and msdosfs supports this except for breaking its own support in the
sanity check.  This is quite different from the handling of pm_FATsecs
-- now the 16-bit value is always ignored for FAT32 except for
checking that it is 0, and newfs_msdos doesn't use the 16-bit value
for FAT32.

Submitted by:	bde
MFC after:	1 week
2013-02-01 18:01:03 +00:00
..
bootsect.h - Add idempotency guards so the structures can be used in other utilities. 2010-02-13 12:41:07 +00:00
bpb.h - Add idempotency guards so the structures can be used in other utilities. 2010-02-13 12:41:07 +00:00
denode.h Remove unused thread argument from vtruncbuf(). 2012-04-23 13:21:28 +00:00
direntry.h - Add idempotency guards so the structures can be used in other utilities. 2010-02-13 12:41:07 +00:00
fat.h
msdosfs_conv.c Discarding local array based on return values 2011-12-22 06:31:29 +00:00
msdosfs_denode.c r16312 is not any longer real since many years (likely since when VFS 2012-11-19 22:43:45 +00:00
msdosfs_fat.c Fix a backwards comment in markvoldirty(). 2013-02-01 17:58:37 +00:00
msdosfs_fileno.c Use pm_fatlock to protect per-filesystem rb tree used to allocate fileno 2010-02-28 17:16:43 +00:00
msdosfs_iconv.c Remove unused include(s). 2007-08-07 02:08:06 +00:00
msdosfs_lookup.c Use NULL instead of 0 for pointers 2012-07-22 15:40:31 +00:00
msdosfs_vfsops.c The mountmsdosfs() function had an insane sanity test, remove it. 2013-02-01 18:01:03 +00:00
msdosfs_vnops.c Remove unused thread argument from vtruncbuf(). 2012-04-23 13:21:28 +00:00
msdosfsmount.h This update changes the mnt_flag field in the mount structure from 2011-07-24 17:43:09 +00:00