summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorJustus Winter <4winter@informatik.uni-hamburg.de>2014-02-24 11:05:13 +0100
committerJustus Winter <4winter@informatik.uni-hamburg.de>2014-02-25 11:16:16 +0100
commitf2640263468aced5c91ac5fc1f15bb5691f7eb20 (patch)
tree463591691cb32e4d2ac0c7efda50864e963e2d85 /utils
parent139cc36c4f24dbc8c759f6bc3fba536698db6e03 (diff)
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.
Diffstat (limited to 'utils')
-rw-r--r--utils/umount.c4
1 files changed, 2 insertions, 2 deletions
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. */