ram fs: Release node mutex on unlink

This is needed if an open file is unlinked.

Fixes #3800
This commit is contained in:
Christian Helmuth 2020-07-06 16:07:25 +02:00 committed by Norman Feske
parent 7acc34b48b
commit e163055f6a

View File

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