md/raid1: add takeover support for raid5->raid1
[safe/jmp/linux-2.6] / drivers / md / dm-ioctl.c
index 7f77f18..a679429 100644 (file)
@@ -1532,7 +1532,7 @@ static const struct file_operations _ctl_fops = {
 static struct miscdevice _dm_misc = {
        .minor          = MISC_DYNAMIC_MINOR,
        .name           = DM_NAME,
-       .devnode        = "mapper/control",
+       .nodename       = "mapper/control",
        .fops           = &_ctl_fops
 };