patch-2.4.21 linux-2.4.21/fs/ncpfs/ioctl.c

Next file: linux-2.4.21/fs/nfs/file.c
Previous file: linux-2.4.21/fs/namespace.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.20/fs/ncpfs/ioctl.c linux-2.4.21/fs/ncpfs/ioctl.c
@@ -434,7 +434,7 @@
 			oldprivatelen = server->priv.len;
 			server->auth.auth_type = user.auth_type;
 			server->auth.object_name_len = user.object_name_len;
-			server->auth.object_name = user.object_name;
+			server->auth.object_name = newname;
 			server->priv.len = 0;
 			server->priv.data = NULL;
 			/* leave critical section */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)