diff options
Diffstat (limited to 'sys/boot/common/bcache.c')
-rw-r--r-- | sys/boot/common/bcache.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/boot/common/bcache.c b/sys/boot/common/bcache.c index 77b987a..fc12f57 100644 --- a/sys/boot/common/bcache.c +++ b/sys/boot/common/bcache.c @@ -23,7 +23,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id$ + * $Id: bcache.c,v 1.3 1998/11/04 00:29:01 msmith Exp $ */ /* @@ -98,8 +98,10 @@ bcache_init(int nblks, size_t bsize) } /* Invalidate the cache */ - for (i = 0; i < bcache_nblks; i++) + for (i = 0; i < bcache_nblks; i++) { bcache_ctl[i].bc_count = -1; + bcache_ctl[i].bc_blkno = -1; + } return(0); } |