Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/ufs/lfs KASSERT(mutex_owner(...)) ---> KASSERT(mutex_own...
details: https://anonhg.NetBSD.org/src/rev/1c0ddd826d1f
branches: trunk
changeset: 349025:1c0ddd826d1f
user: riastradh <riastradh%NetBSD.org@localhost>
date: Sun Nov 20 21:22:14 2016 +0000
description:
KASSERT(mutex_owner(...)) ---> KASSERT(mutex_owned(...))
diffstat:
sys/ufs/lfs/ulfs_quota2.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r cc3c060069f4 -r 1c0ddd826d1f sys/ufs/lfs/ulfs_quota2.c
--- a/sys/ufs/lfs/ulfs_quota2.c Sun Nov 20 21:21:26 2016 +0000
+++ b/sys/ufs/lfs/ulfs_quota2.c Sun Nov 20 21:22:14 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ulfs_quota2.c,v 1.28 2016/07/07 06:55:44 msaitoh Exp $ */
+/* $NetBSD: ulfs_quota2.c,v 1.29 2016/11/20 21:22:14 riastradh Exp $ */
/* from NetBSD: ufs_quota2.c,v 1.40 2015/03/28 19:24:05 maxv Exp Exp */
/* from NetBSD: ffs_quota2.c,v 1.5 2015/02/22 14:12:48 maxv Exp */
@@ -29,7 +29,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ulfs_quota2.c,v 1.28 2016/07/07 06:55:44 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ulfs_quota2.c,v 1.29 2016/11/20 21:22:14 riastradh Exp $");
#include <sys/buf.h>
#include <sys/param.h>
@@ -205,7 +205,7 @@
struct quota2_entry *q2e;
daddr_t lblkno, blkoff, olblkno = 0;
- KASSERT(mutex_owner(&lfs_dqlock));
+ KASSERT(mutex_owned(&lfs_dqlock));
while (off != 0) {
lblkno = (off >> ump->um_mountp->mnt_fs_bshift);
Home |
Main Index |
Thread Index |
Old Index