diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2004-12-28 15:14:38 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2004-12-28 15:14:38 +0000 |
commit | 3b7f66b8b24a1bfc38af6f7ca3bcc46b75317cbd (patch) | |
tree | 47e4752b2dce9cc38193a434303940fdbdfa4fa8 | |
parent | b6e7ee89b0666638000a75209e7d3a009aa9dbcf (diff) |
clean dirty accident by miod
-rw-r--r-- | sys/kern/vfs_subr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/vfs_subr.c b/sys/kern/vfs_subr.c index 6c3a726ad5a..1e1150a044b 100644 --- a/sys/kern/vfs_subr.c +++ b/sys/kern/vfs_subr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vfs_subr.c,v 1.105 2004/12/26 21:22:13 miod Exp $ */ +/* $OpenBSD: vfs_subr.c,v 1.106 2004/12/28 15:14:37 deraadt Exp $ */ /* $NetBSD: vfs_subr.c,v 1.53 1996/04/22 01:39:13 christos Exp $ */ /* @@ -2011,7 +2011,7 @@ loop: while (blist && blist->b_lblkno < 0) blist = LIST_NEXT(blist, b_vnbufs); if (blist == NULL && - (blist = LIST_FIRST(&vp->v_cleanblkhd)) && + (blist = LIST_FIRST(&vp->v_dirtyblkhd)) && (flags & V_SAVEMETA)) while (blist && blist->b_lblkno < 0) blist = LIST_NEXT(blist, b_vnbufs); |