Change single file limit from 70KiB to 94KiB & pack apps and list them.

This commit is contained in:
Yifan Wu 2020-12-19 21:12:09 +08:00
parent 5787214ef6
commit 94267a47c4
3 changed files with 44 additions and 3 deletions

View file

@ -104,7 +104,7 @@ impl Inode {
});
}
pub fn create(&mut self, name: &str) -> Option<Arc<Inode>> {
pub fn create(&self, name: &str) -> Option<Arc<Inode>> {
let mut fs = self.fs.lock();
println!("creating name {}", name);
let mut inode = self.get_disk_inode(&mut fs);