]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - include/linux/raid_class.h
coredump masking: add an interface for core dump filter
[karo-tx-linux.git] / include / linux / raid_class.h
index 48831eac291075b31cb45d766cc8f76b6c9cdaac..d22ad392242ac811bf1c432c89b4c18592dbd987 100644 (file)
@@ -31,9 +31,11 @@ enum raid_level {
        RAID_LEVEL_LINEAR,
        RAID_LEVEL_0,
        RAID_LEVEL_1,
+       RAID_LEVEL_10,
        RAID_LEVEL_3,
        RAID_LEVEL_4,
        RAID_LEVEL_5,
+       RAID_LEVEL_50,
        RAID_LEVEL_6,
 };
 
@@ -75,5 +77,6 @@ DEFINE_RAID_ATTRIBUTE(enum raid_state, state)
 struct raid_template *raid_class_attach(struct raid_function_template *);
 void raid_class_release(struct raid_template *);
 
-void raid_component_add(struct raid_template *, struct device *,
-                       struct device *);
+int __must_check raid_component_add(struct raid_template *, struct device *,
+                                   struct device *);
+