|
|
|
@ -35,7 +35,7 @@ int mufs_mount(struct mufs *fs, struct flash_dev *dev) |
|
|
|
|
fs->log2_nentries = fs->dev->log2_block_size - ilog2(sizeof(uint32_t)); |
|
|
|
|
|
|
|
|
|
fs->root.fs = fs; |
|
|
|
|
fs->root.va = offsetof(struct mufs_super, root) + 1; |
|
|
|
|
fs->root.va = offsetof(struct mufs_super, root); |
|
|
|
|
fs->root.file_size = super.root.file_size; |
|
|
|
|
fs->root.root = super.root.root; |
|
|
|
|
fs->root.depth = super.root.depth; |
|
|
|
|