Date: Mon, 3 Nov 2008 20:00:35 +0000 (UTC) From: Attilio Rao <attilio@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/kern vfs_mount.c vfs_subr.c src/sys/sys mount.h Message-ID: <200811032001.mA3K1HYZ033989@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
attilio 2008-11-03 20:00:35 UTC FreeBSD src repository Modified files: sys/kern vfs_mount.c vfs_subr.c sys/sys mount.h Log: SVN rev 184599 on 2008-11-03 20:00:35Z by attilio Remove the mnt_holdcnt and mnt_holdcntwaiters because they are useless. Really, the concept of holdcnt in the struct mount is rappresented by the mnt_ref (which prevents the type-stable structure from being "recycled) handled through vfs_ref() and vfs_rel(). On this optic, switch the holdcnt acquisition into an emulated vfs_ref() (and subsequent release into vfs_rel()). Discussed with: kib Tested by: pho Revision Changes Path 1.296 +3 -18 src/sys/kern/vfs_mount.c 1.747 +0 -2 src/sys/kern/vfs_subr.c 1.237 +0 -2 src/sys/sys/mount.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200811032001.mA3K1HYZ033989>