cvs commit: src/sys/kern vfs_syscalls.c
Pawel Jakub Dawidek
pjd at FreeBSD.org
Sun Jun 12 07:03:24 GMT 2005
pjd 2005-06-12 07:03:23 UTC
FreeBSD src repository
Do not allocate memory while holding a mutex.
I introduce a very small race here (some file system can be mounted or
unmounted between 'count' calculation and file systems list creation),
but it is harmless.
Found by: FreeBSD Kernel Stress Test Suite: http://www.holm.cc/stress/
Reported by: Peter Holm <peter at holm.cc>
Revision Changes Path
1.390 +4 -2 src/sys/kern/vfs_syscalls.c
More information about the cvs-src