mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-29 05:38:21 +00:00
syscalls: fix more deadlocks and issues
This commit is contained in:
@@ -78,8 +78,11 @@ syscallret_t syscall_mount(context_t *context, char *ubacking, char *umountpoint
|
||||
ret.errno = vfs_lookup(&backingnode, backingrefnode, backing, NULL, 0);
|
||||
if (ret.errno)
|
||||
goto cleanup;
|
||||
|
||||
VOP_UNLOCK(backingnode);
|
||||
}
|
||||
|
||||
|
||||
ret.errno = vfs_mount(backingnode, mountpointrefnode, mountpoint, fs, data);
|
||||
if (ubacking) {
|
||||
VOP_RELEASE(backingnode);
|
||||
|
||||
Reference in New Issue
Block a user