From: Ben Gras Date: Fri, 16 Nov 2012 11:09:03 +0000 (+0000) Subject: iso9660fs: initialize buffer cache X-Git-Tag: v3.2.1~206 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/style.css?a=commitdiff_plain;h=d27f8afc451b044a202118746f0042a17f243038;p=minix.git iso9660fs: initialize buffer cache --- diff --git a/servers/iso9660fs/main.c b/servers/iso9660fs/main.c index e4f59d854..8fae36a66 100644 --- a/servers/iso9660fs/main.c +++ b/servers/iso9660fs/main.c @@ -91,6 +91,8 @@ static void sef_local_startup() /* Let SEF perform startup. */ sef_startup(); + + lmfs_buf_pool(10); } /*===========================================================================* diff --git a/servers/iso9660fs/mount.c b/servers/iso9660fs/mount.c index 3d19922ba..aa23ebd6a 100644 --- a/servers/iso9660fs/mount.c +++ b/servers/iso9660fs/mount.c @@ -43,6 +43,8 @@ int fs_readsuper() { return(r); } + lmfs_set_blocksize(v_pri.logical_block_size_l, major(fs_dev)); + /* Return some root inode properties */ fs_m_out.RES_INODE_NR = ID_DIR_RECORD(v_pri.dir_rec_root); fs_m_out.RES_MODE = v_pri.dir_rec_root->d_mode;