Merge branch 'parisc' from /home/kyle/repos/parisc-2.6.git
[linux-2.6-block.git] / arch / parisc / hpux / sys_hpux.c
index 372edb0348d3dac5bf285545f84d14ba1b050a07..c57fcb4b2173a6778afac99b7bf1b074dfcfa8d7 100644 (file)
@@ -237,7 +237,7 @@ asmlinkage long hpux_fstatfs(unsigned int fd, struct hpux_statfs __user * buf)
        file = fget(fd);
        if (!file)
                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)))
                error = -EFAULT;
        fput(file);