iso9660fs: initialize buffer cache

This commit is contained in:
Ben Gras 2012-11-16 11:09:03 +00:00
parent 10f30159a9
commit d27f8afc45
2 changed files with 4 additions and 0 deletions

View file

@ -91,6 +91,8 @@ static void sef_local_startup()
/* Let SEF perform startup. */ /* Let SEF perform startup. */
sef_startup(); sef_startup();
lmfs_buf_pool(10);
} }
/*===========================================================================* /*===========================================================================*

View file

@ -43,6 +43,8 @@ int fs_readsuper() {
return(r); return(r);
} }
lmfs_set_blocksize(v_pri.logical_block_size_l, major(fs_dev));
/* Return some root inode properties */ /* Return some root inode properties */
fs_m_out.RES_INODE_NR = ID_DIR_RECORD(v_pri.dir_rec_root); 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; fs_m_out.RES_MODE = v_pri.dir_rec_root->d_mode;