vfs: redo locking

This commit is contained in:
Matheus
2024-08-26 21:47:23 -03:00
parent da150523ba
commit 42bda0bf92
32 changed files with 271 additions and 169 deletions
+1
View File
@@ -157,6 +157,7 @@ void initrd_unpack() {
if (err)
break;
VOP_UNLOCK(node);
err = vfs_write(node, datastart, entry.size, 0, &writecount, 0);
VOP_RELEASE(node);
break;