NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

PR/38141 CVS commit: src/sys/kern



The following reply was made to PR kern/38141; it has been noted by GNATS.

From: Andrew Doran <ad%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc: 
Subject: PR/38141 CVS commit: src/sys/kern
Date: Tue,  6 May 2008 12:37:04 +0000 (UTC)

 Module Name:   src
 Committed By:  ad
 Date:          Tue May  6 12:37:04 UTC 2008
 
 Modified Files:
        src/sys/kern: vfs_subr.c
 
 Log Message:
 PR kern/38141 lookup/vfs_busy acquire rwlock recursively
 
 getvnode: Use vfs_trybusy, not vfs_busy. If unmount is in progress we
 could deadlock, because vnode locks can be held during getnewvnode().
 dounmount() locks in the reverse order (vfs_busy -> vnode).
 
 
 To generate a diff of this commit:
 cvs rdiff -r1.341 -r1.342 src/sys/kern/vfs_subr.c
 
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.
 


Home | Main Index | Thread Index | Old Index