From: Josef Sipek Date: Fri, 8 Dec 2006 10:37:32 +0000 (-0800) Subject: [PATCH] struct path: convert ramfs X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=a57c4d65f70cb43c8503bc213c8be638011c22e7;p=linux-beck.git [PATCH] struct path: convert ramfs Signed-off-by: Josef Sipek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- 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;