Commit 1e320d10 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] intermezzo symlink fix

From: Dipankar Sarma <dipankar@in.ibm.com>

Fixed copy/user problem in lento_symlink where user address was getting
passed to presto_do_symlink.  (From 2.4)
parent e068527c
...@@ -1236,7 +1236,7 @@ int lento_symlink(const char *oldname, const char *newname, ...@@ -1236,7 +1236,7 @@ int lento_symlink(const char *oldname, const char *newname,
goto exit_lock; goto exit_lock;
} }
error = presto_do_symlink(fset, nd.dentry, error = presto_do_symlink(fset, nd.dentry,
dentry, oldname, info); dentry, from, info);
path_release(&nd); path_release(&nd);
EXIT; EXIT;
exit_lock: exit_lock:
......
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