diff options
author | Josef Sipek | 2006-12-08 02:37:32 -0800 |
---|---|---|
committer | Linus Torvalds | 2006-12-08 08:28:49 -0800 |
commit | a57c4d65f70cb43c8503bc213c8be638011c22e7 (patch) | |
tree | 7823e61e90c6d4597833e01ef551645ba87ca79c /fs | |
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')
-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, 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; |