Module Name:    src
Committed By:   snj
Date:           Fri Aug  7 05:57:54 UTC 2009

Modified Files:
        src/sys/ufs/ufs [netbsd-5-0]: ufs_quota.c

Log Message:
Pull up following revision(s) (requested by bouyer in ticket #898):
        sys/ufs/ufs/ufs_quota.c: revision 1.64
Fix previous: mutex_destroy() the right mutex


To generate a diff of this commit:
cvs rdiff -u -r1.60.10.1.2.1 -r1.60.10.1.2.2 src/sys/ufs/ufs/ufs_quota.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/ufs/ufs/ufs_quota.c
diff -u src/sys/ufs/ufs/ufs_quota.c:1.60.10.1.2.1 src/sys/ufs/ufs/ufs_quota.c:1.60.10.1.2.2
--- src/sys/ufs/ufs/ufs_quota.c:1.60.10.1.2.1	Fri Aug  7 05:57:06 2009
+++ src/sys/ufs/ufs/ufs_quota.c	Fri Aug  7 05:57:54 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: ufs_quota.c,v 1.60.10.1.2.1 2009/08/07 05:57:06 snj Exp $	*/
+/*	$NetBSD: ufs_quota.c,v 1.60.10.1.2.2 2009/08/07 05:57:54 snj Exp $	*/
 
 /*
  * Copyright (c) 1982, 1986, 1990, 1993, 1995
@@ -35,7 +35,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ufs_quota.c,v 1.60.10.1.2.1 2009/08/07 05:57:06 snj Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ufs_quota.c,v 1.60.10.1.2.2 2009/08/07 05:57:54 snj Exp $");
 
 #include <sys/param.h>
 #include <sys/kernel.h>
@@ -887,7 +887,7 @@
 		KASSERT(dq->dq_cnt > 0);
 		dqref(dq);
 		mutex_exit(&dqlock);
-		mutex_destroy(&dq->dq_interlock);
+		mutex_destroy(&ndq->dq_interlock);
 		pool_cache_put(dquot_cache, ndq);
 		*dqp = dq;
 		return 0;

Reply via email to