lkml.org 
[lkml]   [2000]   [Aug]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[patch] smbfs: default remote nls error in 2.4.0-test7

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/

\
 
 \ /
  Last update: 2005-03-22 12:38    [W:0.017 / U:2.252 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site