]> xenbits.xensource.com Git - xen.git/commitdiff
xend: drbd: Revert 19444:152257350930
authorJim Fehlig <jfehlig@novell.com>
Tue, 18 Jan 2011 17:20:55 +0000 (17:20 +0000)
committerJim Fehlig <jfehlig@novell.com>
Tue, 18 Jan 2011 17:20:55 +0000 (17:20 +0000)
Remove some more "drbd" cruft from xend.  This is not necessary for
drbd to work with Xen.

Requested-by: Jim Fehlig <jfehlig@novell.com>
Tested-by: Shriram Rajagopalan <rshriram@gmail.com>
Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/python/xen/util/blkif.py

index d68423c4c30b83126156f69efb981b3f2e2042e7..3fc54e79cd5ea28839075b74e512ce023360bf5c 100644 (file)
@@ -71,7 +71,7 @@ def _parse_uname(uname):
     if uname.find(":") != -1:
         (typ, fn) = uname.split(":", 1)
 
-        if typ in ("phy", "drbd") and not fn.startswith("/"):
+        if typ in ("phy") and not fn.startswith("/"):
             fn = "/dev/%s" %(fn,)
                
         if typ in ("tap", "tap2"):