Allow slashes ('/') within a DM device name, but not at the beginning. Devfs will automatically create all necessary sub-directories if a name with embedded slashes is registered. [Kevin Corry] --- diff/drivers/md/dm-ioctl.c 2003-06-17 10:07:03.000000000 +0100 +++ source/drivers/md/dm-ioctl.c 2003-06-17 10:07:15.000000000 +0100 @@ -549,7 +549,7 @@ static int check_name(const char *name) { - if (strchr(name, '/')) { + if (name[0] == '/') { DMWARN("invalid device name"); return -EINVAL; }