From 3369762a7620a81db7d579cf35a5231a4bf6c4de Mon Sep 17 00:00:00 2001 From: Thomas Bushnell Date: Fri, 17 Mar 2000 17:23:41 +0000 Subject: 2000-03-17 Thomas Bushnell, BSG * cache.c (create_cached_handle): Add comment. --- nfsd/cache.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'nfsd/cache.c') diff --git a/nfsd/cache.c b/nfsd/cache.c index deb8ebe3..8e8ac14c 100644 --- a/nfsd/cache.c +++ b/nfsd/cache.c @@ -1,5 +1,5 @@ /* - Copyright (C) 1996, 1998, 1999 Free Software Foundation, Inc. + Copyright (C) 1996, 1998, 1999, 2000 Free Software Foundation, Inc. Written by Michael I. Bushnell, p/BSG. This file is part of the GNU Hurd. @@ -363,6 +363,7 @@ create_cached_handle (int fs, struct cache_handle *credc, file_t userport) /* Authenticate USERPORT so that we can call file_getfh on it. */ ref = mach_reply_port (); + /* MAKE_SEND is safe becaue we destroy REF ourselves. */ if (io_reauthenticate (userport, ref, MACH_MSG_TYPE_MAKE_SEND) || auth_user_authenticate (authserver, ref, MACH_MSG_TYPE_MAKE_SEND, &newport)) -- cgit v1.2.3