diff options
author | Josef Sipek <jsipek@fsl.cs.sunysb.edu> | 2006-12-08 11:37:21 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2006-12-08 17:28:47 +0100 |
commit | e9536ae7205d255bc94616b72910fc6e16c861fe (patch) | |
tree | 4c91e2fbe096958ab8f7476306c4a61c30cbe502 /mm/tiny-shmem.c | |
parent | [PATCH] struct path: convert mips (diff) | |
download | linux-e9536ae7205d255bc94616b72910fc6e16c861fe.tar.xz linux-e9536ae7205d255bc94616b72910fc6e16c861fe.zip |
[PATCH] struct path: convert mm
Signed-off-by: Josef Sipek <jsipek@fsl.cs.sunysb.edu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'mm/tiny-shmem.c')
-rw-r--r-- | mm/tiny-shmem.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mm/tiny-shmem.c b/mm/tiny-shmem.c index 5f2cbf0f153c..c7f6e1914bc4 100644 --- a/mm/tiny-shmem.c +++ b/mm/tiny-shmem.c @@ -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; |