Commit 45e07981 authored by Josef Sipek's avatar Josef Sipek Committed by Linus Torvalds

[PATCH] struct path: convert sparc

Signed-off-by: default avatarJosef Sipek <jsipek@fsl.cs.sunysb.edu>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 7bc56323
...@@ -94,8 +94,8 @@ asmlinkage unsigned long sunos_mmap(unsigned long addr, unsigned long len, ...@@ -94,8 +94,8 @@ asmlinkage unsigned long sunos_mmap(unsigned long addr, unsigned long len,
* SunOS is so stupid some times... hmph! * SunOS is so stupid some times... hmph!
*/ */
if (file) { if (file) {
if (imajor(file->f_dentry->d_inode) == MEM_MAJOR && if (imajor(file->f_path.dentry->d_inode) == MEM_MAJOR &&
iminor(file->f_dentry->d_inode) == 5) { iminor(file->f_path.dentry->d_inode) == 5) {
flags |= MAP_ANONYMOUS; flags |= MAP_ANONYMOUS;
fput(file); fput(file);
file = NULL; file = NULL;
...@@ -655,7 +655,7 @@ sunos_nfs_get_server_fd (int fd, struct sockaddr_in *addr) ...@@ -655,7 +655,7 @@ sunos_nfs_get_server_fd (int fd, struct sockaddr_in *addr)
if (!file) if (!file)
goto out; goto out;
inode = file->f_dentry->d_inode; inode = file->f_path.dentry->d_inode;
socket = SOCKET_I(inode); socket = SOCKET_I(inode);
local.sin_family = AF_INET; local.sin_family = AF_INET;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment