From: Ben Gras Date: Wed, 15 Feb 2012 02:46:01 +0000 (+0100) Subject: re-enable update-superblock check X-Git-Tag: v3.2.0~31 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/index.css?a=commitdiff_plain;h=47c1f108351d2b4683c1891fe733bfb4b218d641;p=minix.git re-enable update-superblock check This reverts commit cdbc4bfb13b9446a00da95efa1e13ebaa4f35741. --- 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; }