Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/rmind-uvmplock]: src/sys/ufs/ffs Few fixes, missed in last sync with head.
details: https://anonhg.NetBSD.org/src/rev/46e9d2726b06
branches: rmind-uvmplock
changeset: 753083:46e9d2726b06
user: rmind <rmind%NetBSD.org@localhost>
date: Sat Apr 23 15:35:25 2011 +0000
description:
Few fixes, missed in last sync with head.
diffstat:
sys/ufs/ffs/ffs_quota2.c | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diffs (43 lines):
diff -r 59cdc1c05f5c -r 46e9d2726b06 sys/ufs/ffs/ffs_quota2.c
--- a/sys/ufs/ffs/ffs_quota2.c Thu Apr 21 01:40:44 2011 +0000
+++ b/sys/ufs/ffs/ffs_quota2.c Sat Apr 23 15:35:25 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ffs_quota2.c,v 1.2.2.2 2011/04/21 01:42:20 rmind 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 <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ffs_quota2.c,v 1.2.2.2 2011/04/21 01:42:20 rmind Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ffs_quota2.c,v 1.2.2.3 2011/04/23 15:35:25 rmind Exp $");
#include <sys/param.h>
#include <sys/kernel.h>
@@ -92,9 +92,9 @@
}
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 @@
}
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;
Home |
Main Index |
Thread Index |
Old Index