Subject: CVS commit: src/sys/miscfs/genfs
To: None <source-changes@netbsd.org>
From: YAMAMOTO Takashi <yamt@netbsd.org>
List: source-changes
Date: 06/15/2003 16:14:48
Module Name:	src
Committed By:	yamt
Date:		Sun Jun 15 16:14:47 UTC 2003

Modified Files:
	src/sys/miscfs/genfs: genfs_vnops.c

Log Message:
genfs_getpages: if number of pages requested is >16,
use malloc/free for array of pointers to vm_page.
otherwise, use on-stack array as used to.
this change fixes assertion failure when nfsd gets a big read request
that isn't aligned with filesystem block.
discussed on tech-kern.


To generate a diff of this commit:
cvs rdiff -r1.76 -r1.77 src/sys/miscfs/genfs/genfs_vnops.c

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