Subject: CVS commit: syssrc
To: None <source-changes@netbsd.org>
From: Jason R Thorpe <thorpej@netbsd.org>
List: source-changes
Date: 04/17/2001 01:41:13
Module Name: syssrc
Committed By: thorpej
Date: Mon Apr 16 22:41:12 UTC 2001
Modified Files:
syssrc/sys/coda: coda_psdev.c
syssrc/sys/kern: vfs_subr.c vfs_syscalls.c
syssrc/sys/nfs: nfs_nqlease.c
syssrc/sys/ufs/mfs: mfs_vfsops.c
Log Message:
When unmounting a file system, acquire the syncer_lock before
vfs_busy'ing just before the dounmount() call. This is to avoid
sleeping with the mountlist_slock held -- but we must acquire
syncer_lock before vfs_busy because the syncer itself uses
syncer_lock -> vfs_busy locking order.
To generate a diff of this commit:
cvs rdiff -r1.15 -r1.16 syssrc/sys/coda/coda_psdev.c
cvs rdiff -r1.148 -r1.149 syssrc/sys/kern/vfs_subr.c
cvs rdiff -r1.164 -r1.165 syssrc/sys/kern/vfs_syscalls.c
cvs rdiff -r1.37 -r1.38 syssrc/sys/nfs/nfs_nqlease.c
cvs rdiff -r1.32 -r1.33 syssrc/sys/ufs/mfs/mfs_vfsops.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.