Module Name: src
Committed By: snj
Date: Sun Mar 28 17:26:26 UTC 2010
Modified Files:
src/sys/dev [netbsd-5]: fss.c
Log Message:
Pull up following revision(s) (requested by hannken in ticket #1345):
sys/dev/fss.c: revision 1.65
Remove unneeded vinvalbuf() on backing store as we don't use
VOP_BMAP()/VOP_STRATEGY() here.
To generate a diff of this commit:
cvs rdiff -u -r1.60.4.2 -r1.60.4.3 src/sys/dev/fss.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/dev/fss.c
diff -u src/sys/dev/fss.c:1.60.4.2 src/sys/dev/fss.c:1.60.4.3
--- src/sys/dev/fss.c:1.60.4.2 Sun Mar 28 17:25:12 2010
+++ src/sys/dev/fss.c Sun Mar 28 17:26:26 2010
@@ -1,4 +1,4 @@
-/* $NetBSD: fss.c,v 1.60.4.2 2010/03/28 17:25:12 snj Exp $ */
+/* $NetBSD: fss.c,v 1.60.4.3 2010/03/28 17:26:26 snj Exp $ */
/*-
* Copyright (c) 2003 The NetBSD Foundation, Inc.
@@ -36,7 +36,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: fss.c,v 1.60.4.2 2010/03/28 17:25:12 snj Exp $");
+__KERNEL_RCSID(0, "$NetBSD: fss.c,v 1.60.4.3 2010/03/28 17:26:26 snj Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -696,14 +696,6 @@
sc->sc_bs_bmask = FSS_FSBSIZE(sc)-1;
}
- /*
- * As all IO to from/to the backing store goes through
- * VOP_STRATEGY() clean the buffer cache to prevent
- * cache incoherencies.
- */
- if ((error = vinvalbuf(sc->sc_bs_vp, V_SAVE, l->l_cred, l, 0, 0)) != 0)
- return error;
-
return 0;
}