Skip to contentSkip to conversation

master - devices: DASD doesn't need to be stackable.

PATCH Alasdair Kergon 1 participant 1 message Jan 23, 2015

lore
Share & tools
lore
#0 lore raw
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=3e11d85c774084783520b5cc77e059cfa5e1b254
Commit:        3e11d85c774084783520b5cc77e059cfa5e1b254
Parent:        dab3ebce4c75e931345159dfcf906cc32a066541
Author:        Alasdair G Kergon <[email protected]>
AuthorDate:    Fri Jan 23 20:32:31 2015 +0000
Committer:     Alasdair G Kergon <[email protected]>
CommitterDate: Fri Jan 23 20:32:31 2015 +0000

devices: DASD doesn't need to be stackable.

---
 lib/device/dev-type.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
lib/device/dev-type.c +0 -3
index 389b0c8..dc8b61d 100644
@@ -207,9 +207,6 @@ int dev_subsystem_part_major(struct dev_types *dt, struct device *dev)
 	if (MAJOR(dev->dev) == dt->emcpower_major)
 		return 1;
 
-	if (MAJOR(dev->dev) == dt->dasd_major)
-		return 1;
-
 	if (MAJOR(dev->dev) == dt->power2_major)
 		return 1;