Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/sys/ufs/ext2fs/ext2fs_vnops.c,v rcsdiff: /ftp/cvs/cvsroot/src/sys/ufs/ext2fs/ext2fs_vnops.c,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.74.2.1 retrieving revision 1.74.2.2 diff -u -p -r1.74.2.1 -r1.74.2.2 --- src/sys/ufs/ext2fs/ext2fs_vnops.c 2007/06/17 21:32:05 1.74.2.1 +++ src/sys/ufs/ext2fs/ext2fs_vnops.c 2007/09/16 19:02:45 1.74.2.2 @@ -1,4 +1,4 @@ -/* $NetBSD: ext2fs_vnops.c,v 1.74.2.1 2007/06/17 21:32:05 ad Exp $ */ +/* $NetBSD: ext2fs_vnops.c,v 1.74.2.2 2007/09/16 19:02:45 ad Exp $ */ /* * Copyright (c) 1982, 1986, 1989, 1993 @@ -70,7 +70,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: ext2fs_vnops.c,v 1.74.2.1 2007/06/17 21:32:05 ad Exp $"); +__KERNEL_RCSID(0, "$NetBSD: ext2fs_vnops.c,v 1.74.2.2 2007/09/16 19:02:45 ad Exp $"); #include #include @@ -189,7 +189,7 @@ ext2fs_mknod(void *v) * checked to see if it is an alias of an existing entry in * the inode cache. */ - vput(*vpp); + VOP_UNLOCK(*vpp, 0); (*vpp)->v_type = VNON; vgone(*vpp); error = VFS_VGET(mp, ino, vpp); @@ -1385,7 +1385,6 @@ ext2fs_vinit(struct mount *mntp, int (** mutex_enter(&vp->v_interlock); vp->v_iflag &= ~VI_LOCKSWORK; mutex_exit(&vp->v_interlock); - vrele(vp); vgone(vp); lockmgr(&nvp->v_lock, LK_EXCLUSIVE, &nvp->v_interlock); /*