From: Jeff D. <jd...@ka...> - 2001-05-10 22:18:32
|
Try this patch: --- cvs/linux/arch/um/fs/hostfs/hostfs_kern.c Thu May 10 16:51:09 2001 +++ um/arch/um/fs/hostfs/hostfs_kern.c Thu May 10 17:16:37 2001 @@ -662,6 +662,7 @@ int blocksize = get_hardsect_size(dev); if(blocksize == 0) blocksize = BLOCK_SIZE; + set_blocksize (dev, blocksize); if(!(bh = bread (dev, 0, blocksize))) return NULL; if(strncmp(bh->b_data, "HOSTFS:", strlen("HOSTFS:"))) goto out; ret = hostfs_read_super_common(sb, bh->b_data + strlen("HOSTFS:")); Completely untested (by me), suggested a couple times, but I hadn't merged it yet. Jeff |