[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH hurd] utils/umount: clean up
From: |
Gabriele Giacone |
Subject: |
[PATCH hurd] utils/umount: clean up |
Date: |
Fri, 3 Oct 2014 14:58:35 +0200 |
According to f2640263468aced5c91ac5fc1f15bb5691f7eb20, passive
translators are no longer removed.
* utils/umount.c (do_umount) Remove -p option from verbose message.
(passive_flags): Remove.
---
utils/umount.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/utils/umount.c b/utils/umount.c
index 7901da6..cf6be22 100644
--- a/utils/umount.c
+++ b/utils/umount.c
@@ -40,7 +40,6 @@ static char *targets;
static size_t targets_len;
static int readonly;
static int verbose;
-static int passive_flags;
static int active_flags = FS_TRANS_SET;
static int goaway_flags;
static int source_goaway;
@@ -200,7 +199,7 @@ do_umount (struct fs *fs)
}
if (verbose)
- printf ("settrans -apg%s%s %s\n",
+ printf ("settrans -ag%s%s %s\n",
goaway_flags & FSYS_GOAWAY_NOSYNC? "S": "",
goaway_flags & FSYS_GOAWAY_FORCE? "f": "",
fs->mntent.mnt_dir);
@@ -208,7 +207,7 @@ do_umount (struct fs *fs)
if (! fake)
{
err = file_set_translator (node,
- passive_flags, active_flags, goaway_flags,
+ 0, active_flags, goaway_flags,
NULL, 0,
MACH_PORT_NULL, MACH_MSG_TYPE_COPY_SEND);
if (! err)
--
2.1.0
- [PATCH hurd] utils/umount: clean up,
Gabriele Giacone <=