diff options
author | Josef Sipek <jsipek@fsl.cs.sunysb.edu> | 2006-12-08 05:37:32 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2006-12-08 11:28:49 -0500 |
commit | a57c4d65f70cb43c8503bc213c8be638011c22e7 (patch) | |
tree | 7823e61e90c6d4597833e01ef551645ba87ca79c /fs/ramfs/file-nommu.c | |
parent | 24e23c24e7a4754e50439dfc33bdbd05b09c4cc5 (diff) |
[PATCH] struct path: convert ramfs
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 'fs/ramfs/file-nommu.c')
-rw-r--r-- | fs/ramfs/file-nommu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ramfs/file-nommu.c b/fs/ramfs/file-nommu.c index bfe5dbf1002..61cbe1ef06b 100644 --- a/fs/ramfs/file-nommu.c +++ b/fs/ramfs/file-nommu.c | |||
@@ -232,7 +232,7 @@ unsigned long ramfs_nommu_get_unmapped_area(struct file *file, | |||
232 | unsigned long pgoff, unsigned long flags) | 232 | unsigned long pgoff, unsigned long flags) |
233 | { | 233 | { |
234 | unsigned long maxpages, lpages, nr, loop, ret; | 234 | unsigned long maxpages, lpages, nr, loop, ret; |
235 | struct inode *inode = file->f_dentry->d_inode; | 235 | struct inode *inode = file->f_path.dentry->d_inode; |
236 | struct page **pages = NULL, **ptr, *page; | 236 | struct page **pages = NULL, **ptr, *page; |
237 | loff_t isize; | 237 | loff_t isize; |
238 | 238 | ||