Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/kern Switch fstrans_dump() to _mountlist_next().
details: https://anonhg.NetBSD.org/src/rev/9b4d7750ca4c
branches: trunk
changeset: 352843:9b4d7750ca4c
user: hannken <hannken%NetBSD.org@localhost>
date: Wed Apr 12 10:23:35 2017 +0000
description:
Switch fstrans_dump() to _mountlist_next().
diffstat:
sys/kern/vfs_trans.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 77196c9f2146 -r 9b4d7750ca4c sys/kern/vfs_trans.c
--- a/sys/kern/vfs_trans.c Wed Apr 12 06:43:56 2017 +0000
+++ b/sys/kern/vfs_trans.c Wed Apr 12 10:23:35 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: vfs_trans.c,v 1.40 2017/03/30 09:13:01 hannken Exp $ */
+/* $NetBSD: vfs_trans.c,v 1.41 2017/04/12 10:23:35 hannken Exp $ */
/*-
* Copyright (c) 2007 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: vfs_trans.c,v 1.40 2017/03/30 09:13:01 hannken Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vfs_trans.c,v 1.41 2017/04/12 10:23:35 hannken Exp $");
/*
* File system transaction operations.
@@ -871,7 +871,7 @@
fstrans_print_lwp(p, l, full == 1);
printf("Fstrans state by mount:\n");
- TAILQ_FOREACH(mp, &mountlist, mnt_list)
+ for (mp = _mountlist_next(NULL); mp; mp = _mountlist_next(mp))
fstrans_print_mount(mp, full == 1);
}
#endif /* defined(DDB) */
Home |
Main Index |
Thread Index |
Old Index