Subject: PR/30864 CVS commit: [netbsd-3] 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/02/2005 15:22:01
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-3] src/sys/fs/msdosfs
Date: Fri, 2 Sep 2005 15:21:23 +0000 (UTC)
Module Name: src
Committed By: riz
Date: Fri Sep 2 15:21:23 UTC 2005
Modified Files:
src/sys/fs/msdosfs [netbsd-3]: denode.h msdosfs_vnops.c
Log Message:
Pull up following revision(s) (requested by xtraeme in ticket #722):
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.14.1 -r1.4.14.2 src/sys/fs/msdosfs/denode.h
cvs rdiff -r1.14 -r1.14.2.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.