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/ffs/ffs_quota2.c,v rcsdiff: /ftp/cvs/cvsroot/src/sys/ufs/ffs/ffs_quota2.c,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.2 retrieving revision 1.2.2.3 diff -u -p -r1.2 -r1.2.2.3 --- src/sys/ufs/ffs/ffs_quota2.c 2011/03/06 17:08:38 1.2 +++ src/sys/ufs/ffs/ffs_quota2.c 2011/04/23 15:35:25 1.2.2.3 @@ -1,4 +1,4 @@ -/* $NetBSD: ffs_quota2.c,v 1.2 2011/03/06 17:08:38 bouyer Exp $ */ +/* $NetBSD: ffs_quota2.c,v 1.2.2.3 2011/04/23 15:35:25 rmind Exp $ */ /*- * Copyright (c) 2010 Manuel Bouyer * All rights reserved. @@ -28,7 +28,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: ffs_quota2.c,v 1.2 2011/03/06 17:08:38 bouyer Exp $"); +__KERNEL_RCSID(0, "$NetBSD: ffs_quota2.c,v 1.2.2.3 2011/04/23 15:35:25 rmind Exp $"); #include #include @@ -92,9 +92,9 @@ ffs_quota2_mount(struct mount *mp) } ump->um_quotas[USRQUOTA] = vp; ump->um_cred[USRQUOTA] = l->l_cred; - mutex_enter(&vp->v_interlock); + mutex_enter(vp->v_interlock); vp->v_writecount++; - mutex_exit(&vp->v_interlock); + mutex_exit(vp->v_interlock); VOP_UNLOCK(vp); } if (fs->fs_quota_flags & FS_Q2_DO_TYPE(GRPQUOTA) && @@ -109,10 +109,10 @@ ffs_quota2_mount(struct mount *mp) } ump->um_quotas[GRPQUOTA] = vp; ump->um_cred[GRPQUOTA] = l->l_cred; - mutex_enter(&vp->v_interlock); + mutex_enter(vp->v_interlock); vp->v_vflag |= VV_SYSTEM; vp->v_writecount++; - mutex_exit(&vp->v_interlock); + mutex_exit(vp->v_interlock); VOP_UNLOCK(vp); } mp->mnt_flag |= MNT_QUOTA;