summaryrefslogtreecommitdiff
path: root/ftpfs
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1997-08-18 18:48:13 +0000
committerMiles Bader <miles@gnu.org>1997-08-18 18:48:13 +0000
commita9bd89076fd102d349df69b2275610704b5138c9 (patch)
tree90863a7adeb7c33608d840f366a41eaa3c8d5b18 /ftpfs
parent18ed7356c7b1759634880fbe674d83a4eaabd743 (diff)
(netfs_attempt_mkfile):
Unlock DIR.
Diffstat (limited to 'ftpfs')
-rw-r--r--ftpfs/netfs.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ftpfs/netfs.c b/ftpfs/netfs.c
index 2fdf8eec..6ea4f70e 100644
--- a/ftpfs/netfs.c
+++ b/ftpfs/netfs.c
@@ -392,6 +392,8 @@ error_t netfs_attempt_link (struct iouser *user, struct node *dir,
error_t netfs_attempt_mkfile (struct iouser *user, struct node *dir,
mode_t mode, struct node **node)
{
+ *node = 0;
+ mutex_unlock (&dir->lock);
return EROFS;
}