From f2640263468aced5c91ac5fc1f15bb5691f7eb20 Mon Sep 17 00:00:00 2001 From: Justus Winter <4winter@informatik.uni-hamburg.de> Date: Mon, 24 Feb 2014 11:05:13 +0100 Subject: utils/umount: do not remove passive translator records Passive translator records are a Hurd concept. Therefore, the umount compatibility program should not remove them. * utils/umount.c (passive_flags): Unset FS_TRANS_SET. (doc): Adjust accordingly. --- utils/umount.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'utils') diff --git a/utils/umount.c b/utils/umount.c index 26d2b568..7901da60 100644 --- a/utils/umount.c +++ b/utils/umount.c @@ -40,7 +40,7 @@ static char *targets; static size_t targets_len; static int readonly; static int verbose; -static int passive_flags = FS_TRANS_SET; +static int passive_flags; static int active_flags = FS_TRANS_SET; static int goaway_flags; static int source_goaway; @@ -139,7 +139,7 @@ parse_opt (int key, char *arg, struct argp_state *state) return 0; } -static const char doc[] = "Stop active and remove passive translators"; +static const char doc[] = "Stop active filesystem translators"; static const char args_doc[] = "DEVICE|DIRECTORY [DEVICE|DIRECTORY ...]"; static struct argp fstab_argp_mtab; /* Slightly modified version. */ -- cgit v1.2.3