From: Ben Gras Date: Tue, 31 Jan 2012 15:17:06 +0000 (+0100) Subject: temporarily disable update-superblock check X-Git-Tag: v3.2.0~87 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/zlib_tech.html?a=commitdiff_plain;h=cdbc4bfb13b9446a00da95efa1e13ebaa4f35741;p=minix.git temporarily disable update-superblock check . incompatible with installboot -d FSDEV on mounted filesystems . should be re-enabled when netbsd boot loader is default --- diff --git a/servers/mfs/cache.c b/servers/mfs/cache.c index d64dcc228..7acb0f048 100644 --- a/servers/mfs/cache.c +++ b/servers/mfs/cache.c @@ -381,6 +381,11 @@ 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) { @@ -393,6 +398,7 @@ int block_write_ok(struct buf *bp) printf("This shouldn't happen.\n"); return 0; } +#endif return 1; }