diff options
author | Josef Sipek <jsipek@fsl.cs.sunysb.edu> | 2006-12-08 02:37:32 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2006-12-08 08:28:49 -0800 |
commit | a57c4d65f70cb43c8503bc213c8be638011c22e7 (patch) | |
tree | 7823e61e90c6d4597833e01ef551645ba87ca79c | |
parent | 24e23c24e7a4754e50439dfc33bdbd05b09c4cc5 (diff) | |
download | kernel_goldelico_gta04-a57c4d65f70cb43c8503bc213c8be638011c22e7.zip kernel_goldelico_gta04-a57c4d65f70cb43c8503bc213c8be638011c22e7.tar.gz kernel_goldelico_gta04-a57c4d65f70cb43c8503bc213c8be638011c22e7.tar.bz2 |
[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>
-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 bfe5dbf..61cbe1e 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; |