summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Dekkers <jeroen@dekkers.cx>2003-07-05 14:18:48 +0000
committerJeroen Dekkers <jeroen@dekkers.cx>2003-07-05 14:18:48 +0000
commit38c862bb0c34759102539d59636f7997e92054d3 (patch)
treeb529408ef2aede35fc8b455e8084738246005594
parentd2f48d1aa103653da9c807a65b869637fe828d9c (diff)
2003-07-05 Jeroen Dekkers <jeroen@dekkers.cx>
* netfs.c (netfs_attempt_create_file): Unlock DIR. (netfs_attempt_mkfile): Likewise.
-rw-r--r--ChangeLog5
-rw-r--r--netfs.c4
2 files changed, 8 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 9d00438..9ba5903 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2003-07-05 Jeroen Dekkers <jeroen@dekkers.cx>
+
+ * netfs.c (netfs_attempt_create_file): Unlock DIR.
+ (netfs_attempt_mkfile): Likewise.
+
2002-12-09 Moritz Schulte <moritz@duesseldorf.ccc.de>
* lib.h: Fix pointer arg.
diff --git a/netfs.c b/netfs.c
index bd07d11..729cca4 100644
--- a/netfs.c
+++ b/netfs.c
@@ -1,5 +1,5 @@
/* Hurd unionfs
- Copyright (C) 2001, 2002 Free Software Foundation, Inc.
+ Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc.
Written by Moritz Schulte <moritz@duesseldorf.ccc.de>.
This program is free software; you can redistribute it and/or
@@ -282,6 +282,7 @@ error_t
netfs_attempt_mkfile (struct iouser *user, struct node *dir,
mode_t mode, struct node **np)
{
+ mutex_unlock (&dir->lock);
return EOPNOTSUPP;
}
@@ -293,6 +294,7 @@ error_t
netfs_attempt_create_file (struct iouser *user, struct node *dir,
char *name, mode_t mode, struct node **np)
{
+ mutex_unlock (&dir->lock);
return EOPNOTSUPP;
}