summaryrefslogtreecommitdiffstats
path: root/fs/ramfs
diff options
context:
space:
mode:
authorJosef Sipek <jsipek@fsl.cs.sunysb.edu>2006-12-08 11:37:32 +0100
committerLinus Torvalds <torvalds@woody.osdl.org>2006-12-08 17:28:49 +0100
commita57c4d65f70cb43c8503bc213c8be638011c22e7 (patch)
tree7823e61e90c6d4597833e01ef551645ba87ca79c /fs/ramfs
parent[PATCH] struct path: convert qnx4 (diff)
downloadlinux-a57c4d65f70cb43c8503bc213c8be638011c22e7.tar.xz
linux-a57c4d65f70cb43c8503bc213c8be638011c22e7.zip
[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')
-rw-r--r--fs/ramfs/file-nommu.c2
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,
unsigned long pgoff, unsigned long flags)
{
unsigned long maxpages, lpages, nr, loop, ret;
- struct inode *inode = file->f_dentry->d_inode;
+ struct inode *inode = file->f_path.dentry->d_inode;
struct page **pages = NULL, **ptr, *page;
loff_t isize;