[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>
This commit is contained in:
committed by
Linus Torvalds
parent
24e23c24e7
commit
a57c4d65f7
@@ -232,7 +232,7 @@ unsigned long ramfs_nommu_get_unmapped_area(struct file *file,
|
|||||||
unsigned long pgoff, unsigned long flags)
|
unsigned long pgoff, unsigned long flags)
|
||||||
{
|
{
|
||||||
unsigned long maxpages, lpages, nr, loop, ret;
|
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;
|
struct page **pages = NULL, **ptr, *page;
|
||||||
loff_t isize;
|
loff_t isize;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user