diff options
author | Roland McGrath <roland@gnu.org> | 2001-06-16 02:53:56 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2001-06-16 02:53:56 +0000 |
commit | c311ee6c369486f78c079134ca7d6ae13f6a403b (patch) | |
tree | dffed05101875def24e87d24add8e3da3f0b2da0 /libnetfs | |
parent | af6e2add4e1891038419b16ea6ceae1ab6b4dd39 (diff) |
2001-06-15 Neal H Walfield <neal@cs.uml.edu>
* 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.
Diffstat (limited to 'libnetfs')
-rw-r--r-- | libnetfs/file-set-translator.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libnetfs/file-set-translator.c b/libnetfs/file-set-translator.c index 50959286..a0a70dba 100644 --- a/libnetfs/file-set-translator.c +++ b/libnetfs/file-set-translator.c @@ -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 @@ netfs_S_file_set_translator (struct protid *user, 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); |