Date: Tue, 3 Oct 2006 10:47:04 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/sys mount.h src/sys/kern vfs_mount.c Message-ID: <200610031047.k93Al5Pk065366@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
kib 2006-10-03 10:47:04 UTC FreeBSD src repository Modified files: sys/sys mount.h sys/kern vfs_mount.c Log: 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200610031047.k93Al5Pk065366>