]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - mm/tiny-shmem.c
ohci: Add support for OHCI controller on the of_platform bus
[linux-2.6-omap-h63xx.git] / mm / tiny-shmem.c
index 5f2cbf0f153c7a35db2219cab124c0ac8513ce4c..c7f6e1914bc4e77264591f02958c32f1f8af1d93 100644 (file)
@@ -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;