[PATCH] struct path: convert sparc64
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
45e079810a
commit
1250ca4c8f
@ -77,7 +77,7 @@ static u32 do_solaris_mmap(u32 addr, u32 len, u32 prot, u32 flags, u32 fd, u64 o
|
||||
if (!file)
|
||||
goto out;
|
||||
else {
|
||||
struct inode * inode = file->f_dentry->d_inode;
|
||||
struct inode * inode = file->f_path.dentry->d_inode;
|
||||
if(imajor(inode) == MEM_MAJOR &&
|
||||
iminor(inode) == 5) {
|
||||
flags |= MAP_ANONYMOUS;
|
||||
|
Reference in New Issue
Block a user