After mentioned patch, this condition get opposite meaning and it
is blocking creation in cases where it was supported.
Remove it now.
Fixes: 119cdcad049e ("mdadm: drop auto= support")
Signed-off-by: Mariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com>
}
/* 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