commit-hurd
[Top][All Lists]
Advanced

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

[hurd] 47/53: mach-defpager: silently ignore requests to page to active


From: Samuel Thibault
Subject: [hurd] 47/53: mach-defpager: silently ignore requests to page to active partition
Date: Thu, 20 Mar 2014 02:23:53 +0000

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

sthibault pushed a commit to branch upstream
in repository hurd.

commit cc9757407fa124998613329ce73c5bba98d5cf21
Author: Justus Winter <address@hidden>
Date:   Wed Mar 12 15:09:44 2014 +0100

    mach-defpager: silently ignore requests to page to active partition
    
    Currently, if mach-defpager is asked to page to an already active
    partition, it ignores this request and returns success.  It does,
    however, print a message about this to stdout.
    
    This message might indicate to the user that there is some kind of a
    problem with the configuration of the machine, even though the code in
    new_partition clearly does not consider it an error to do such an
    request.
    
    * mach-defpager/default_pager.c (new_partition): Do not print a
    message if requested to page to an already active partition.
---
 mach-defpager/default_pager.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/mach-defpager/default_pager.c b/mach-defpager/default_pager.c
index 362697e..8f8e13e 100644
--- a/mach-defpager/default_pager.c
+++ b/mach-defpager/default_pager.c
@@ -209,8 +209,6 @@ new_partition (const char *name, struct file_direct *fdp,
              part = partition_of(i);
              if (part && part->id == id)
                {
-                 printf ("(default pager): Already paging to partition %s!\n",
-                         name);
                  pthread_mutex_unlock(&all_partitions.lock);
                  return 0;
                }

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