summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hostmux/stubs.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/hostmux/stubs.c b/hostmux/stubs.c
index d9402877..f5dd9b67 100644
--- a/hostmux/stubs.c
+++ b/hostmux/stubs.c
@@ -119,6 +119,8 @@ error_t
netfs_attempt_mkfile (struct iouser *user, struct node *dir,
mode_t mode, struct node **node)
{
+ *node = 0;
+ mutex_unlock (&dir->lock);
return EOPNOTSUPP;
}