Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/ufs/mfs use symbolic V_SAVE instead of value 1 when invo...



details:   https://anonhg.NetBSD.org/src/rev/ac3712bff029
branches:  trunk
changeset: 556805:ac3712bff029
user:      dbj <dbj%NetBSD.org@localhost>
date:      Sun Dec 28 00:36:33 2003 +0000

description:
use symbolic V_SAVE instead of value 1 when invoking vinvalbuf

diffstat:

 sys/ufs/mfs/mfs_vnops.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r b3a30ed2fbc7 -r ac3712bff029 sys/ufs/mfs/mfs_vnops.c
--- a/sys/ufs/mfs/mfs_vnops.c   Sat Dec 27 23:57:24 2003 +0000
+++ b/sys/ufs/mfs/mfs_vnops.c   Sun Dec 28 00:36:33 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mfs_vnops.c,v 1.34 2003/08/07 16:34:41 agc Exp $       */
+/*     $NetBSD: mfs_vnops.c,v 1.35 2003/12/28 00:36:33 dbj Exp $       */
 
 /*
  * Copyright (c) 1989, 1993
@@ -32,7 +32,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: mfs_vnops.c,v 1.34 2003/08/07 16:34:41 agc Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mfs_vnops.c,v 1.35 2003/12/28 00:36:33 dbj Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -254,7 +254,7 @@
         * we must invalidate any in core blocks, so that
         * we can, free up its vnode.
         */
-       if ((error = vinvalbuf(vp, 1, ap->a_cred, ap->a_p, 0, 0)) != 0)
+       if ((error = vinvalbuf(vp, V_SAVE, ap->a_cred, ap->a_p, 0, 0)) != 0)
                return (error);
        /*
         * There should be no way to have any more uses of this



Home | Main Index | Thread Index | Old Index