Subject: CVS commit: syssrc/sys/nfs
To: None <source-changes@netbsd.org>
From: enami tsugutomo <enami@netbsd.org>
List: source-changes
Date: 05/06/2002 03:07:51
Module Name:	syssrc
Committed By:	enami
Date:		Mon May  6 00:07:51 UTC 2002

Modified Files:
	syssrc/sys/nfs: nfs_bio.c

Log Message:
The per nfsnode n_commitlock is a sleep lock, but we can't sleep if
PGO_LOCKED getpages request.  So, just make the lock fail and tell
the caller that there is no pages available if we can't acquire it.
The caller will call us again soon without PGO_LOCKED.  Reviewed by chuq.


To generate a diff of this commit:
cvs rdiff -r1.79 -r1.80 syssrc/sys/nfs/nfs_bio.c

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