Source-Changes archive

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

CVS commit: src/sys/kern

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