Subject: CVS commit: src/sys/fs/msdosfs
To: None <source-changes@NetBSD.org>
From: Juan Romero Pardines <xtraeme@netbsd.org>
List: source-changes
Date: 08/29/2005 23:22:05
Module Name: src
Committed By: xtraeme
Date: Mon Aug 29 23:22:05 UTC 2005
Modified Files:
src/sys/fs/msdosfs: denode.h msdosfs_vnops.c
Log Message:
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.5 -r1.6 src/sys/fs/msdosfs/denode.h
cvs rdiff -r1.16 -r1.17 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.