From 47c1f108351d2b4683c1891fe733bfb4b218d641 Mon Sep 17 00:00:00 2001 From: Ben Gras Date: Wed, 15 Feb 2012 03:46:01 +0100 Subject: [PATCH] re-enable update-superblock check This reverts commit cdbc4bfb13b9446a00da95efa1e13ebaa4f35741. --- servers/mfs/cache.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/servers/mfs/cache.c b/servers/mfs/cache.c index 7acb0f048..d64dcc228 100644 --- a/servers/mfs/cache.c +++ b/servers/mfs/cache.c @@ -381,11 +381,6 @@ PUBLIC void invalidate( *===========================================================================*/ int block_write_ok(struct buf *bp) { - /* XXX this check is temporarily disabled as it's incompatible with - * updating the sector list in the bootcode. This will change when - * we switch to the netbsd-based bootloader. - */ -#if 0 if(superblock.s_dev != bp->b_dev) return 1; if(bp->b_blocknr >= super_start && bp->b_blocknr <= super_end) { @@ -398,7 +393,6 @@ int block_write_ok(struct buf *bp) printf("This shouldn't happen.\n"); return 0; } -#endif return 1; }