commit-hurd
[Top][All Lists]
Advanced

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

[hurd] 74/87: utils/umount: clean up


From: Samuel Thibault
Subject: [hurd] 74/87: utils/umount: clean up
Date: Sun, 09 Nov 2014 11:05:05 +0000

This is an automated email from the git hooks/post-receive script.

sthibault pushed a commit to branch upstream
in repository hurd.

commit ab8d8784cd73d5fe8ede7a95a3df36d068a6145c
Author: Gabriele Giacone <address@hidden>
Date:   Fri Oct 3 14:58:35 2014 +0200

    utils/umount: clean up
    
    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)

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-hurd/hurd.git



reply via email to

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