projects
/
platform
/
kernel
/
linux-arm64.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
24e23c2
)
[PATCH] struct path: convert ramfs
author
Josef Sipek
<jsipek@fsl.cs.sunysb.edu>
Fri, 8 Dec 2006 10:37:32 +0000
(
02:37
-0800)
committer
Linus Torvalds
<torvalds@woody.osdl.org>
Fri, 8 Dec 2006 16:28:49 +0000
(08:28 -0800)
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>
fs/ramfs/file-nommu.c
patch
|
blob
|
history
diff --git
a/fs/ramfs/file-nommu.c
b/fs/ramfs/file-nommu.c
index
bfe5dbf
..
61cbe1e
100644
(file)
--- 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;