Re: Misc 2.5 Fixes: cp-user-intermezzo

Dipankar Sarma (dipankar@in.ibm.com)
Tue, 10 Jun 2003 15:41:21 +0530


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:

_
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/