Subject: PR/30864 CVS commit: [netbsd-2] src/sys/fs/msdosfs
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Jeff Rizzo <riz@netbsd.org>
List: netbsd-bugs
Date: 09/06/2005 16:13:02
The following reply was made to PR kern/30864; it has been noted by GNATS.
From: Jeff Rizzo <riz@netbsd.org>
To: gnats-bugs@netbsd.org
Cc:
Subject: PR/30864 CVS commit: [netbsd-2] src/sys/fs/msdosfs
Date: Tue, 6 Sep 2005 16:12:00 +0000 (UTC)
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.