commit-hurd
[Top][All Lists]
Advanced

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

[hurd] 18/30: umount: Do not report errors on making the device go away


From: Samuel Thibault
Subject: [hurd] 18/30: umount: Do not report errors on making the device go away
Date: Tue, 22 Sep 2015 21:51:59 +0000

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

sthibault pushed a commit to branch upstream
in repository hurd.

commit 4b2e41017d621054c0ebb2acb7ceb88fa9617488
Author: Samuel Thibault <address@hidden>
Date:   Wed Sep 9 01:37:19 2015 +0200

    umount: Do not report errors on making the device go away
    
    This fixes umounting bind mounts or other mounts for which the device can
    not be made away.
    
    * utils/umount.c (do_umount): When the --force option is not passed, ignore
    errors from file_set_translator call on the device file.
---
 utils/umount.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/utils/umount.c b/utils/umount.c
index 4005029..19f79fc 100644
--- a/utils/umount.c
+++ b/utils/umount.c
@@ -235,6 +235,8 @@ do_umount (struct fs *fs)
                                         NULL, 0,
                                         MACH_PORT_NULL,
                                         MACH_MSG_TYPE_COPY_SEND);
+             if (!(goaway_flags & FSYS_GOAWAY_FORCE))
+               err = 0;
              if (err)
                error (0, err, "%s", fs->mntent.mnt_fsname);
 

-- 
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]