diff options
author | Michael I. Bushnell <mib@gnu.org> | 1994-06-21 22:28:23 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1994-06-21 22:28:23 +0000 |
commit | 47285fe47fb507f33e0ff92de50e9640bf9716b5 (patch) | |
tree | f2d750b48e6ea4d3b83eccd5676590fdb5bd92df | |
parent | 85e8642bae3bc4a5c7d9ebc417863bf481a387c5 (diff) |
Formerly dir-link.c.~5~
-rw-r--r-- | libdiskfs/dir-link.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libdiskfs/dir-link.c b/libdiskfs/dir-link.c index 473b995e..a43734c8 100644 --- a/libdiskfs/dir-link.c +++ b/libdiskfs/dir-link.c @@ -83,5 +83,8 @@ diskfs_S_dir_link (struct protid *filecred, out: mutex_unlock (&dnp->lock); mutex_unlock (&np->lock); + if (!error) + /* MiG won't do this for us, which it ought to. */ + mach_port_deallocate (mach_task_self (), dircred->pi.port); return error; } |