diff options
author | Roland McGrath <roland@gnu.org> | 2001-06-16 02:27:38 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2001-06-16 02:27:38 +0000 |
commit | b2495c92918bf9df62b16065dc48aedf06f25e09 (patch) | |
tree | 958bf4b88393f654aad9d8eb9a1ee0a40f182b68 | |
parent | 73c81b83d97b735e2a614d2bf182ec6b0ffdba79 (diff) |
2001-06-15 Neal H Walfield <neal@cs.uml.edu>
* file-set-trans.c (diskfs_S_file_set_translator): If
FS_TRANS_ORPHAN is set, do not ask the active translator to go
away, just disconnect it.
-rw-r--r-- | libdiskfs/file-set-trans.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libdiskfs/file-set-trans.c b/libdiskfs/file-set-trans.c index 22f42ba9..31d42d7d 100644 --- a/libdiskfs/file-set-trans.c +++ b/libdiskfs/file-set-trans.c @@ -1,5 +1,5 @@ /* libdiskfs implementation of fs.defs: file_set_translator - Copyright (C) 1992, 93, 94, 95, 96, 99 Free Software Foundation, Inc. + Copyright (C) 1992,93,94,95,96,99,2001 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as @@ -57,7 +57,8 @@ diskfs_S_file_set_translator (struct protid *cred, return error; } - if (active_flags & FS_TRANS_SET) + if (active_flags & FS_TRANS_SET + && ! (active_flags & FS_TRANS_ORPHAN)) { error = fshelp_fetch_control (&np->transbox, &control); if (error) |