Date: Tue, 8 Feb 2005 15:54:30 +0000 (UTC) From: Poul-Henning Kamp <phk@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/ufs/ffs ffs_vnops.c src/sys/ufs/ufs ufs_vnops.c Message-ID: <200502081554.j18FsUkm064911@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
phk 2005-02-08 15:54:30 UTC FreeBSD src repository Modified files: sys/ufs/ffs ffs_vnops.c sys/ufs/ufs ufs_vnops.c Log: For snapshots we need all VOP_LOCKs to be exclusive. The "business class upgrade" was implemented in UFS's VOP_LOCK implementation ufs_lock() which is the wrong layer, so move it to ffs_lock(). Also, as long as we have not abandonned advanced vfs-stacking we should not preclude it from happening: instead of implementing a copy locally, use the VOP_LOCK_APV(&ufs) to correctly arrive at vop_stdlock() at the bottom. Revision Changes Path 1.149 +24 -0 src/sys/ufs/ffs/ffs_vnops.c 1.263 +0 -29 src/sys/ufs/ufs/ufs_vnops.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200502081554.j18FsUkm064911>