CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2017/01/15 16:18:05
Modified files:
sys/kern : vfs_subr.c vfs_syscalls.c
Log message:
When traversing the mount list, the current mount point is locked
with vfs_busy(). If the FOREACH_SAFE macro is used, the next pointer
is not locked and could be freed by another process. Unless
necessary, do not use _SAFE as it is unsafe. In vfs_unmountall()
the current pointer is actullay freed. Add a comment that this
race has to be fixed later.
OK krw@