[patch] smbfs: default remote nls error in 2.4.0-test7

From: Urban Widmark (urban@svenskatest.se)
Date: Sun Aug 27 2000 - 06:38:46 EST


Silly mistake prevents selecting a default remote "nls" from doing
anything useful. Patch vs 2.4.0-test7, please apply.

/Urban

--- linux-2.4.0-test7-orig/fs/smbfs/inode.c Sun Aug 27 13:10:49 2000
+++ linux/fs/smbfs/inode.c Sun Aug 27 13:11:20 2000
@@ -445,7 +445,7 @@
         memset(mnt, 0, sizeof(struct smb_mount_data_kernel));
         strncpy(mnt->codepage.local_name, CONFIG_NLS_DEFAULT,
                 SMB_NLS_MAXNAMELEN);
- strncpy(mnt->codepage.local_name, CONFIG_SMB_NLS_REMOTE,
+ strncpy(mnt->codepage.remote_name, CONFIG_SMB_NLS_REMOTE,
                 SMB_NLS_MAXNAMELEN);
 
         if (ver == SMB_MOUNT_OLDVERSION) {

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



This archive was generated by hypermail 2b29 : Thu Aug 31 2000 - 21:00:19 EST