Subject: CVS commit: src/sys/coda
To: None <source-changes@NetBSD.org>
From: Matthias Drochner <drochner@netbsd.org>
List: source-changes
Date: 08/25/2003 10:05:49
Module Name: src
Committed By: drochner
Date: Mon Aug 25 10:05:48 UTC 2003
Modified Files:
src/sys/coda: cnode.h coda_vfsops.c
Log Message:
fix a deadlock during mount:
The client manager (venus) blocks in sys_mount() before entering its
event loop answering requests from the kernel device (cfs). sys_mount()
calls VFS_STATFS() internally which caused an upcall through cfs,
which was never answered.
Now don't consider the fs fully mounted before the VFS_START() was
called at the vey end of sys_mount(). So VFS_STATFS() will return
an error which is ignored.
To generate a diff of this commit:
cvs rdiff -r1.11 -r1.12 src/sys/coda/cnode.h
cvs rdiff -r1.27 -r1.28 src/sys/coda/coda_vfsops.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.