diff options
-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 bfe5dbf1002e..61cbe1ef06b9 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 | ||