Subject: CVS commit: [netbsd-2] src/sys/fs/msdosfs
To: None <source-changes@NetBSD.org>
From: Jeff Rizzo <riz@netbsd.org>
List: source-changes
Date: 09/06/2005 16:12:00
Module Name:	src
Committed By:	riz
Date:		Tue Sep  6 16:12:00 UTC 2005

Modified Files:
	src/sys/fs/msdosfs [netbsd-2]: denode.h msdosfs_vnops.c

Log Message:
Pull up following revision(s) (requested by xtraeme in ticket #5627):
	sys/fs/msdosfs/msdosfs_vnops.c: revision 1.17
	sys/fs/msdosfs/denode.h: revision 1.6
The maximum file size on MS-DOS filesystems is 4 GB - 1 byte, so
don't bother trying to write files bigger than this.  Just return
EFBIG to caller, rather than panic()ing later.
From OpenBSD.
This closes my PR kern/30864: "panic when copying files of >4GB on
msdosfs"


To generate a diff of this commit:
cvs rdiff -r1.4 -r1.4.6.1 src/sys/fs/msdosfs/denode.h
cvs rdiff -r1.9 -r1.9.4.1 src/sys/fs/msdosfs/msdosfs_vnops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.