[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 1/5] utils/umount: do not remove passive translator records

From: Justus Winter
Subject: [PATCH 1/5] utils/umount: do not remove passive translator records
Date: Mon, 24 Feb 2014 15:41:52 +0100

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(-)

diff --git a/utils/umount.c b/utils/umount.c
index 26d2b56..7901da6 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.  */

reply via email to

[Prev in Thread] Current Thread [Next in Thread]