WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] Revert 21641:2e5844e17d6f "xencommons: mo

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] Revert 21641:2e5844e17d6f "xencommons: modprobe xenfs if it not be loaded"
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Mon, 21 Jun 2010 10:45:38 -0700
Delivery-date: Mon, 21 Jun 2010 10:49:59 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1277141854 -3600
# Node ID 4892d31a78b1a352ef744da158ec3cb1d29d9344
# Parent  be9bf07fc818944fa9ddf8e901ba38dd30ec6150
Revert 21641:2e5844e17d6f "xencommons: modprobe xenfs if it not be loaded"

Nacked by Jeremy Fitzhardinge and Ian Jackson.

Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
---
 tools/hotplug/Linux/init.d/xencommons |   21 ++++++++-------------
 1 files changed, 8 insertions(+), 13 deletions(-)

diff -r be9bf07fc818 -r 4892d31a78b1 tools/hotplug/Linux/init.d/xencommons
--- a/tools/hotplug/Linux/init.d/xencommons     Mon Jun 21 18:36:39 2010 +0100
+++ b/tools/hotplug/Linux/init.d/xencommons     Mon Jun 21 18:37:34 2010 +0100
@@ -24,21 +24,16 @@ XENCONSOLED_PIDFILE=/var/run/xenconsoled
 XENCONSOLED_PIDFILE=/var/run/xenconsoled.pid
 shopt -s extglob
 
-if test "x$1" = xstart; then
-       if ! grep '     xenfs$' /proc/filesystems >/dev/null; then
-               test -x /sbin/modprobe && /sbin/modprobe xenfs 2>/dev/null
-       fi
-       if test -d /proc/xen && \
-           ! test -d /proc/xen/capabilities && \
-             grep '    xenfs$' /proc/filesystems >/dev/null && \
-           ! grep '^xenfs ' /proc/mounts >/dev/null;
-       then
-               mount -t xenfs xenfs /proc/xen
-       fi
+if test "x$1" = xstart && \
+     test -d /proc/xen && \
+   ! test -d /proc/xen/capabilities && \
+     grep '    xenfs$' /proc/filesystems >/dev/null && \
+   ! grep '^xenfs ' /proc/mounts >/dev/null;
+then
+       mount -t xenfs xenfs /proc/xen
 fi
 
-if ! test -e /proc/xen/capabilities || \
-    ! grep -q "control_d" /proc/xen/capabilities ; then
+if ! grep -q "control_d" /proc/xen/capabilities ; then
        exit 0
 fi
 

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] Revert 21641:2e5844e17d6f "xencommons: modprobe xenfs if it not be loaded", Xen patchbot-unstable <=