From a9bd89076fd102d349df69b2275610704b5138c9 Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Mon, 18 Aug 1997 18:48:13 +0000 Subject: (netfs_attempt_mkfile): Unlock DIR. --- ftpfs/netfs.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ftpfs') 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; } -- cgit v1.2.3