]> Zhao Yanbai Git Server - minix.git/commitdiff
iso9660fs: initialize buffer cache
authorBen Gras <ben@minix3.org>
Fri, 16 Nov 2012 11:09:03 +0000 (11:09 +0000)
committerBen Gras <ben@minix3.org>
Fri, 16 Nov 2012 11:09:03 +0000 (11:09 +0000)
servers/iso9660fs/main.c
servers/iso9660fs/mount.c

index e4f59d854f75277d83e8f0b830762b1d8a4ad831..8fae36a669cbd620ccb4ca9ada32da230a67849d 100644 (file)
@@ -91,6 +91,8 @@ static void sef_local_startup()
 
   /* Let SEF perform startup. */
   sef_startup();
+
+  lmfs_buf_pool(10);
 }
 
 /*===========================================================================*
index 3d19922bad01f86a869b859dd96fb4a5ba53bb87..aa23ebd6ae3227a3738fe24d4fd770f1551bc898 100644 (file)
@@ -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;