[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
- [hurd] 84/87: Fix optional definitions in static binaries, (continued)
- [hurd] 84/87: Fix optional definitions in static binaries, Samuel Thibault, 2014/11/09
- [hurd] 03/87: libnetfs: add netfs_make_node_alloc to allocate fat nodes, Samuel Thibault, 2014/11/09
- [hurd] 72/87: libports: use a global hash table for the lookups, Samuel Thibault, 2014/11/09
- [hurd] 08/87: Disable linking when cross-compiling, Samuel Thibault, 2014/11/09
- [hurd] 04/87: trans/fakeroot: use fat nodes to simplify the node cache, Samuel Thibault, 2014/11/09
- [hurd] 11/87: Merge branch 'master' of git://git.sv.gnu.org/hurd/hurd, Samuel Thibault, 2014/11/09
- [hurd] 07/87: libdiskfs: use a hash table for the name cache, Samuel Thibault, 2014/11/09
- [hurd] 05/87: trans/fakeroot: use netfs_node_netnode instead of np->nn, Samuel Thibault, 2014/11/09
- [hurd] 86/87: libpager: use a fixed number of threads, Samuel Thibault, 2014/11/09
- [hurd] 02/87: libdiskfs: add diskfs_make_node_alloc to allocate fat nodes, Samuel Thibault, 2014/11/09
- [hurd] 74/87: utils/umount: clean up,
Samuel Thibault <=
- [hurd] 75/87: utils/mount: add mount options to create firmlinks., Samuel Thibault, 2014/11/09