mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
pass default dentry_operations to mount_pseudo()
Signed-off-by: Al Viro <[email protected]>
This commit is contained in:
parent
f772c4a6a3
commit
c74a1cbb3c
8 changed files with 40 additions and 33 deletions
|
|
@ -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 = {
|
||||
|
|
|
|||
Loading…
Reference in a new issue