Module Name: src Committed By: hannken Date: Sat Oct 17 10:29:30 UTC 2009
Modified Files: src/sys/dev: fss.c Log Message: 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.64 -r1.65 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.64 src/sys/dev/fss.c:1.65 --- src/sys/dev/fss.c:1.64 Tue Oct 13 12:37:19 2009 +++ src/sys/dev/fss.c Sat Oct 17 10:29:29 2009 @@ -1,4 +1,4 @@ -/* $NetBSD: fss.c,v 1.64 2009/10/13 12:37:19 hannken Exp $ */ +/* $NetBSD: fss.c,v 1.65 2009/10/17 10:29:29 hannken Exp $ */ /*- * Copyright (c) 2003 The NetBSD Foundation, Inc. @@ -36,7 +36,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: fss.c,v 1.64 2009/10/13 12:37:19 hannken Exp $"); +__KERNEL_RCSID(0, "$NetBSD: fss.c,v 1.65 2009/10/17 10:29:29 hannken Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -705,14 +705,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; }