From 42385adb8bb48a4996300ef21b954e35bb30e873 Mon Sep 17 00:00:00 2001 From: Pedro Martelletto Date: Sun, 6 Mar 2005 16:30:54 +0000 Subject: Use V_SAVE instead of hardcoding it, no binary change. --- sys/ufs/mfs/mfs_vnops.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys') diff --git a/sys/ufs/mfs/mfs_vnops.c b/sys/ufs/mfs/mfs_vnops.c index c0e1cb2aeb1..9d45f6ab7c2 100644 --- a/sys/ufs/mfs/mfs_vnops.c +++ b/sys/ufs/mfs/mfs_vnops.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mfs_vnops.c,v 1.24 2003/09/23 16:51:13 millert Exp $ */ +/* $OpenBSD: mfs_vnops.c,v 1.25 2005/03/06 16:30:53 pedro Exp $ */ /* $NetBSD: mfs_vnops.c,v 1.8 1996/03/17 02:16:32 christos Exp $ */ /* @@ -268,7 +268,7 @@ mfs_close(v) * 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); #ifdef DIAGNOSTIC /* -- cgit v1.2.3