diff options
author | Roland McGrath <roland@gnu.org> | 2000-03-17 10:36:19 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2000-03-17 10:36:19 +0000 |
commit | a64e5fa386cf57e35051d47f600deba150c74392 (patch) | |
tree | 32d73bad19d44074e77e4fa33a103fb6e2fe87b4 | |
parent | 59172bab0bbe995e2dc846cd0688785c69c9890c (diff) |
2000-03-17 Roland McGrath <roland@baalperazim.frob.com>
* dir-lookup.c (diskfs_S_dir_lookup): Use ports_get_send_right.
-rw-r--r-- | libdiskfs/dir-lookup.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libdiskfs/dir-lookup.c b/libdiskfs/dir-lookup.c index 91e9ea48..489b4dd8 100644 --- a/libdiskfs/dir-lookup.c +++ b/libdiskfs/dir-lookup.c @@ -255,9 +255,7 @@ diskfs_S_dir_lookup (struct protid *dircred, if (error) goto out; - dirport = ports_get_right (newpi); - mach_port_insert_right (mach_task_self (), dirport, dirport, - MACH_MSG_TYPE_MAKE_SEND); + dirport = ports_get_send_right (newpi); ports_port_deref (newpi); if (np != dnp) mutex_unlock (&dnp->lock); |