Remove VFS object reference counting

This commit is contained in:
2025-09-05 15:10:25 +02:00
parent 90266f044b
commit ca92a0e6a8
4 changed files with 1 additions and 9 deletions

View File

@ -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));