cvs commit: src/sys/sys mount.h src/sys/kern vfs_mount.c
kib at FreeBSD.org
Tue Oct 3 03:47:07 PDT 2006
kib 2006-10-03 10:47:04 UTC
FreeBSD src repository
Fix the remaining race in the revs. 1.232, 1,233 that could occur during
unmount when mp structure is reused while waiting for coveredvp lock.
Introduce struct mount generation count, increment it on each reuse and
compare the generations before and after obtaining the coveredvp lock.
Reviewed by: tegge, pjd
Approved by: pjd (mentor)
MFC after: 2 weeks
Revision Changes Path
1.240 +5 -1 src/sys/kern/vfs_mount.c
1.215 +1 -0 src/sys/sys/mount.h
More information about the cvs-all