summaryrefslogtreecommitdiff
path: root/nfsd
diff options
context:
space:
mode:
authorThomas Bushnell <thomas@gnu.org>2000-03-17 17:23:41 +0000
committerThomas Bushnell <thomas@gnu.org>2000-03-17 17:23:41 +0000
commit3369762a7620a81db7d579cf35a5231a4bf6c4de (patch)
treec4bf6414c463dfc0116e9176b033516671af70e5 /nfsd
parent2dea3cde451f40e8ff43c273771c12302f7ccc79 (diff)
2000-03-17 Thomas Bushnell, BSG <tb@mit.edu>
* cache.c (create_cached_handle): Add comment.
Diffstat (limited to 'nfsd')
-rw-r--r--nfsd/cache.c3
1 files changed, 2 insertions, 1 deletions
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))