mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-19 21:57:55 +00:00
ram fs: Release node mutex on unlink
This is needed if an open file is unlinked. Fixes #3800
This commit is contained in:
parent
7acc34b48b
commit
e163055f6a
@ -887,8 +887,8 @@ class Vfs::Ram_file_system : public Vfs::File_system
|
||||
|
||||
Node *node = parent->child(basename(path));
|
||||
if (!node) return UNLINK_ERR_NO_ENTRY;
|
||||
Node::Guard node_guard(node);
|
||||
|
||||
node->acquire();
|
||||
parent->release(node);
|
||||
node->notify();
|
||||
parent->notify();
|
||||
|
Loading…
Reference in New Issue
Block a user