浏览代码

[PATCH] struct path: convert parisc

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>
Josef Sipek 18 年之前
父节点
当前提交
0c5a556689
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      arch/parisc/hpux/sys_hpux.c

+ 1 - 1
arch/parisc/hpux/sys_hpux.c

@@ -237,7 +237,7 @@ asmlinkage long hpux_fstatfs(unsigned int fd, struct hpux_statfs __user * buf)
 	file = fget(fd);
 	file = fget(fd);
 	if (!file)
 	if (!file)
 		goto out;
 		goto out;
-	error = vfs_statfs_hpux(file->f_dentry, &tmp);
+	error = vfs_statfs_hpux(file->f_path.dentry, &tmp);
 	if (!error && copy_to_user(buf, &tmp, sizeof(tmp)))
 	if (!error && copy_to_user(buf, &tmp, sizeof(tmp)))
 		error = -EFAULT;
 		error = -EFAULT;
 	fput(file);
 	fput(file);