From b2495c92918bf9df62b16065dc48aedf06f25e09 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Sat, 16 Jun 2001 02:27:38 +0000 Subject: 2001-06-15 Neal H Walfield * 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. --- libdiskfs/file-set-trans.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'libdiskfs') 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) -- cgit v1.2.3