mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
[PATCH] struct path: convert mm
Signed-off-by: Josef Sipek <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
1b04fe9a8e
commit
e9536ae720
4 changed files with 10 additions and 10 deletions
|
|
@ -79,8 +79,8 @@ struct file *shmem_file_setup(char *name, loff_t size, unsigned long flags)
|
|||
d_instantiate(dentry, inode);
|
||||
inode->i_nlink = 0; /* It is unlinked */
|
||||
|
||||
file->f_vfsmnt = mntget(shm_mnt);
|
||||
file->f_dentry = dentry;
|
||||
file->f_path.mnt = mntget(shm_mnt);
|
||||
file->f_path.dentry = dentry;
|
||||
file->f_mapping = inode->i_mapping;
|
||||
file->f_op = &ramfs_file_operations;
|
||||
file->f_mode = FMODE_WRITE | FMODE_READ;
|
||||
|
|
|
|||
Loading…
Reference in a new issue