]> Pileus Git - ~andy/linux/blobdiff - arch/alpha/kernel/osf_sys.c
Merge branch 'upstream-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jgarzi...
[~andy/linux] / arch / alpha / kernel / osf_sys.c
index 973c5c3705e3f08d2669d08f1a15ae0df44c85b8..8c71daf94a59ce0f27537a4c8352ab362152dbbe 100644 (file)
@@ -259,8 +259,8 @@ osf_statfs(char __user *path, struct osf_statfs __user *buffer, unsigned long bu
 
        retval = user_path_walk(path, &nd);
        if (!retval) {
-               retval = do_osf_statfs(nd.dentry, buffer, bufsiz);
-               path_release(&nd);
+               retval = do_osf_statfs(nd.path.dentry, buffer, bufsiz);
+               path_put(&nd.path);
        }
        return retval;
 }