Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/ufs/lfs Change vismarker() to VI_MARKER for lfs_writevno...
details: https://anonhg.NetBSD.org/src/rev/859779628437
branches: trunk
changeset: 327803:859779628437
user: hannken <hannken%NetBSD.org@localhost>
date: Mon Mar 17 09:33:20 2014 +0000
description:
Change vismarker() to VI_MARKER for lfs_writevnodes().
This operation has to be changed to vfs_vnode_iterator.
diffstat:
sys/ufs/lfs/lfs_segment.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 8fea2c51a7e6 -r 859779628437 sys/ufs/lfs/lfs_segment.c
--- a/sys/ufs/lfs/lfs_segment.c Mon Mar 17 09:31:35 2014 +0000
+++ b/sys/ufs/lfs/lfs_segment.c Mon Mar 17 09:33:20 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: lfs_segment.c,v 1.233 2013/10/29 09:53:51 hannken Exp $ */
+/* $NetBSD: lfs_segment.c,v 1.234 2014/03/17 09:33:20 hannken Exp $ */
/*-
* Copyright (c) 1999, 2000, 2001, 2002, 2003 The NetBSD Foundation, Inc.
@@ -60,7 +60,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: lfs_segment.c,v 1.233 2013/10/29 09:53:51 hannken Exp $");
+__KERNEL_RCSID(0, "$NetBSD: lfs_segment.c,v 1.234 2014/03/17 09:33:20 hannken Exp $");
#ifdef DEBUG
# define vndebug(vp, str) do { \
@@ -508,7 +508,7 @@
}
mutex_enter(vp->v_interlock);
- if (vp->v_type == VNON || vismarker(vp) ||
+ if (vp->v_type == VNON || (vp->v_iflag & VI_MARKER) ||
(vp->v_iflag & VI_CLEAN) != 0) {
mutex_exit(vp->v_interlock);
continue;
Home |
Main Index |
Thread Index |
Old Index