From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Benjamin Marzinski Date: Fri, 1 Jun 2018 16:30:44 -0500 Subject: [PATCH] libmultipath: remove last of rbd code My previous patch to remove the rbd code missed a little bit. Signed-off-by: Benjamin Marzinski --- kpartx/del-part-nodes.rules | 2 +- libmultipath/structs.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/kpartx/del-part-nodes.rules b/kpartx/del-part-nodes.rules index 17bc505..0ceecf5 100644 --- a/kpartx/del-part-nodes.rules +++ b/kpartx/del-part-nodes.rules @@ -10,7 +10,7 @@ # or create an udev rule file that sets ENV{DONT_DEL_PART_NODES}="1". SUBSYSTEM!="block", GOTO="end_del_part_nodes" -KERNEL!="sd*|dasd*|rbd*", GOTO="end_del_part_nodes" +KERNEL!="sd*|dasd*", GOTO="end_del_part_nodes" ACTION!="add|change", GOTO="end_del_part_nodes" ENV{DEVTYPE}=="partition", GOTO="end_del_part_nodes" diff --git a/libmultipath/structs.h b/libmultipath/structs.h index e5b698b..ca14315 100644 --- a/libmultipath/structs.h +++ b/libmultipath/structs.h @@ -61,7 +61,6 @@ enum sysfs_buses { SYSFS_BUS_IDE, SYSFS_BUS_CCW, SYSFS_BUS_CCISS, - SYSFS_BUS_RBD, SYSFS_BUS_NVME, }; -- 2.7.4