]> git.ipfire.org Git - people/ms/linux.git/blobdiff - arch/parisc/hpux/sys_hpux.c
Embed a struct path into struct nameidata instead of nd->{dentry,mnt}
[people/ms/linux.git] / arch / parisc / hpux / sys_hpux.c
index 3e025df2dc863763eee5568bcb0628603d537cd4..d7395af3e8464c100f3ab650e52136f29cc53da3 100644 (file)
@@ -219,7 +219,7 @@ asmlinkage long hpux_statfs(const char __user *path,
        error = user_path_walk(path, &nd);
        if (!error) {
                struct hpux_statfs tmp;
-               error = vfs_statfs_hpux(nd.dentry, &tmp);
+               error = vfs_statfs_hpux(nd.path.dentry, &tmp);
                if (!error && copy_to_user(buf, &tmp, sizeof(tmp)))
                        error = -EFAULT;
                path_release(&nd);