From 15774e2af65cfb4bbf25b8de1823b9a9a1c4a0ee Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Fri, 11 Feb 1994 22:32:19 +0000 Subject: Formerly file-getlinknode.c.~4~ --- libdiskfs/file-getlinknode.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'libdiskfs/file-getlinknode.c') diff --git a/libdiskfs/file-getlinknode.c b/libdiskfs/file-getlinknode.c index 8c10f62b..2b968b72 100644 --- a/libdiskfs/file-getlinknode.c +++ b/libdiskfs/file-getlinknode.c @@ -33,10 +33,7 @@ diskfs_S_file_getlinknode (struct protid *cred, if (np == diskfs_root_node) return EBUSY; - /* XXX -- this is wrong; port management code for protids - only allows a port to be given out once; we need to - send a new protid unfortunately. */ - *port = cred->pi.port; + *port = ports_get_right (cred); *portpoly = MACH_MSG_TYPE_MAKE_SEND; return 0; } -- cgit v1.2.3