From 439dd44986de2e445365c27fa03a49534c344816 Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Wed, 5 Apr 1995 00:30:10 +0000 Subject: Fix nets. --- libdiskfs/dir-unlink.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libdiskfs/dir-unlink.c') diff --git a/libdiskfs/dir-unlink.c b/libdiskfs/dir-unlink.c index ae5a4310..1715e0b9 100644 --- a/libdiskfs/dir-unlink.c +++ b/libdiskfs/dir-unlink.c @@ -17,6 +17,7 @@ #include "priv.h" #include "fs_S.h" +#include /* Implement dir_unlink as described in . */ kern_return_t @@ -65,6 +66,8 @@ diskfs_S_dir_unlink (struct protid *dircred, mutex_lock (&np->translator.lock); if (np->translator.control != MACH_PORT_NULL) { + mach_port_t control; + /* There is a running active translator here. Give it a push. If it squeaks, then return an error. If it consents, then clear the active translator spec (unless it's been changed -- cgit v1.2.3