> libnetfs needs the change too.  

Opps.

libnetfs/ChangeLog:

2001-06-15  Neal H Walfield  <[EMAIL PROTECTED]>

        * file-set-translator.c (netfs_S_file_set_translator):  If
        FS_TRANS_ORPHAN is set, do not ask the active translator to go
        away, just disconnect it.        

Index: file-set-translator.c
===================================================================
RCS file: /home/neal/cvs/hurd/libnetfs/file-set-translator.c,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 file-set-translator.c
--- file-set-translator.c       2001/06/03 20:53:19     1.1.1.1
+++ file-set-translator.c       2001/06/16 03:45:22
@@ -1,5 +1,5 @@
 /*
-   Copyright (C) 1996, 1997, 1999 Free Software Foundation, Inc.
+   Copyright (C) 1996, 1997, 1999, 2001 Free Software Foundation, Inc.
    Written by Michael I. Bushnell, p/BSG.
 
    This file is part of the GNU Hurd.
@@ -45,7 +45,8 @@
   np = user->po->np;
   mutex_lock (&np->lock);
 
-  if (active_flags & FS_TRANS_SET)
+  if (active_flags & FS_TRANS_SET
+      && ! (active_flags & FS_TRANS_ORPHAN))
     {
       /* Validate--user must be owner */
       err = netfs_validate_stat (np, user->user);

PGP signature

Reply via email to