summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPedro Martelletto <pedro@cvs.openbsd.org>2005-03-06 16:30:54 +0000
committerPedro Martelletto <pedro@cvs.openbsd.org>2005-03-06 16:30:54 +0000
commit42385adb8bb48a4996300ef21b954e35bb30e873 (patch)
tree7bc29d5717750a9790ef775406a1c47f82010df9
parent058e86be40ee683ee08ede2416ef8554b7adaac9 (diff)
Use V_SAVE instead of hardcoding it, no binary change.
-rw-r--r--sys/ufs/mfs/mfs_vnops.c4
1 files changed, 2 insertions, 2 deletions
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
/*