Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/fs/puffs use standard dirty vnode test.
details: https://anonhg.NetBSD.org/src/rev/5b21a9f61784
branches: trunk
changeset: 329477:5b21a9f61784
user: christos <christos%NetBSD.org@localhost>
date: Sun May 25 19:32:36 2014 +0000
description:
use standard dirty vnode test.
diffstat:
sys/fs/puffs/puffs_vfsops.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (29 lines):
diff -r c7d1d58a1683 -r 5b21a9f61784 sys/fs/puffs/puffs_vfsops.c
--- a/sys/fs/puffs/puffs_vfsops.c Sun May 25 19:23:49 2014 +0000
+++ b/sys/fs/puffs/puffs_vfsops.c Sun May 25 19:32:36 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: puffs_vfsops.c,v 1.112 2014/05/25 17:43:47 hannken Exp $ */
+/* $NetBSD: puffs_vfsops.c,v 1.113 2014/05/25 19:32:36 christos Exp $ */
/*
* Copyright (c) 2005, 2006 Antti Kantee. All Rights Reserved.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: puffs_vfsops.c,v 1.112 2014/05/25 17:43:47 hannken Exp $");
+__KERNEL_RCSID(0, "$NetBSD: puffs_vfsops.c,v 1.113 2014/05/25 19:32:36 christos Exp $");
#include <sys/param.h>
#include <sys/kernel.h>
@@ -513,8 +513,8 @@
static bool
pageflush_selector(void *cl, struct vnode *vp)
{
-
- return vp->v_type == VREG && !UVM_OBJ_IS_CLEAN(&vp->v_uobj);
+ return vp->v_type == VREG &&
+ !(LIST_EMPTY(&vp->v_dirtyblkhd) && UVM_OBJ_IS_CLEAN(&vp->v_uobj));
}
static int
Home |
Main Index |
Thread Index |
Old Index