Merge git://git.infradead.org/mtd-2.6
[sfrench/cifs-2.6.git] / drivers / mtd / mtdchar.c
index 16de17b5b829985fbb26b315bd71823e1fa5dacb..145b3d0dc0db31cc06a5f690340fdea4395b33f3 100644 (file)
@@ -1134,7 +1134,7 @@ static const struct file_operations mtd_fops = {
 static struct dentry *mtd_inodefs_mount(struct file_system_type *fs_type,
                                int flags, const char *dev_name, void *data)
 {
-       return mount_pseudo(fs_type, "mtd_inode:", NULL, MTD_INODE_FS_MAGIC);
+       return mount_pseudo(fs_type, "mtd_inode:", NULL, NULL, MTD_INODE_FS_MAGIC);
 }
 
 static struct file_system_type mtd_inodefs_type = {