Re: Misc 2.5 Fixes: cp-user-intermezzo

Dipankar Sarma
2003-06-10T09:57:57Z

Fixed copy/user problem in lento_symlink where user address was
getting passed to presto_do_symlink.

fs/intermezzo/vfs.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)

diff -puN fs/intermezzo/vfs.c~cp-user-intermezzo fs/intermezzo/vfs.c
--- linux-2.5.70-ds/fs/intermezzo/vfs.c~cp-user-intermezzo 2003-06-08 14:07:49.000000000 +0530
+++ linux-2.5.70-ds-dipankar/fs/intermezzo/vfs.c 2003-06-08 14:09:28.000000000 +0530
@@ -1236,7 +1236,7 @@ int lento_symlink(const char *oldname, c
goto exit_lock;
}
error = presto_do_symlink(fset, nd.dentry,
- dentry, oldname, info);
+ dentry, from, info);
path_release(&nd);
EXIT;
exit_lock:

_