summaryrefslogtreecommitdiffstats
path: root/mdopen.c
diff options
context:
space:
mode:
Diffstat (limited to 'mdopen.c')
-rw-r--r--mdopen.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/mdopen.c b/mdopen.c
index 3532c758..26f0c716 100644
--- a/mdopen.c
+++ b/mdopen.c
@@ -192,13 +192,8 @@ int create_mddev(char *dev, char *name, int trustworthy,
}
/* Now determine device number */
- /* named 'METADATA' cannot use 'mdp'. */
if (name && name[0] == 0)
name = NULL;
- if (name && trustworthy == METADATA) {
- pr_err("%s is not allowed for a %s container. Consider /dev/md%d.\n", dev, name, num);
- return -1;
- }
if (num < 0 && trustworthy == LOCAL && name) {
/* if name is numeric, possibly prefixed by