Remove VFS object reference counting
This commit is contained in:
@ -74,7 +74,6 @@ struct VfsObj *littlefs_open(struct VfsMountPoint *vmp, const char *path, uint32
|
||||
}
|
||||
hal_memset(vobj, 0, sizeof(*vobj));
|
||||
spinlock_init(&vobj->spinlock);
|
||||
vobj->refs++;
|
||||
|
||||
int lfs_flags = 0;
|
||||
lfs_file_t *file = dlmalloc(sizeof(*file));
|
||||
|
Reference in New Issue
Block a user