pass default dentry_operations to mount_pseudo()

Signed-off-by: Al Viro <[email protected]>
This commit is contained in:
Al Viro 2011-01-12 16:59:34 -05:00
commit c74a1cbb3c
8 changed files with 40 additions and 33 deletions

View 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 = {