Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/bouyer-quota2]: src/sys/ufs/ufs Fix typo



details:   https://anonhg.NetBSD.org/src/rev/3a7614f90266
branches:  bouyer-quota2
changeset: 761144:3a7614f90266
user:      bouyer <bouyer%NetBSD.org@localhost>
date:      Wed Feb 09 12:01:20 2011 +0000

description:
Fix typo

diffstat:

 sys/ufs/ufs/ufs_quota1.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 365f026c255e -r 3a7614f90266 sys/ufs/ufs/ufs_quota1.c
--- a/sys/ufs/ufs/ufs_quota1.c  Wed Feb 09 11:37:16 2011 +0000
+++ b/sys/ufs/ufs/ufs_quota1.c  Wed Feb 09 12:01:20 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ufs_quota1.c,v 1.1.2.3 2011/02/08 20:00:53 bouyer Exp $        */
+/*     $NetBSD: ufs_quota1.c,v 1.1.2.4 2011/02/09 12:01:20 bouyer Exp $        */
 
 /*
  * Copyright (c) 1982, 1986, 1990, 1993, 1995
@@ -35,7 +35,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ufs_quota1.c,v 1.1.2.3 2011/02/08 20:00:53 bouyer Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ufs_quota1.c,v 1.1.2.4 2011/02/09 12:01:20 bouyer Exp $");
 
 #include <sys/param.h>
 #include <sys/kernel.h>
@@ -701,7 +701,7 @@
        struct uio auio;
        int error;
 
-       KASSERT(mutex_locked(&dq->dq_interlock));
+       KASSERT(mutex_owned(&dq->dq_interlock));
        vn_lock(dqvp, LK_EXCLUSIVE | LK_RETRY);
        auio.uio_iov = &aiov;
        auio.uio_iovcnt = 1;



Home | Main Index | Thread Index | Old Index