patch-2.4.0-test5 linux/fs/ntfs/fs.c
Next file: linux/fs/ntfs/support.c
Previous file: linux/fs/nls/nls_utf8.c
Back to the patch index
Back to the overall index
- Lines: 13
- Date:
Tue Jul 18 22:48:33 2000
- Orig file:
v2.4.0-test4/linux/fs/ntfs/fs.c
- Orig date:
Mon Jul 10 16:47:26 2000
diff -u --recursive --new-file v2.4.0-test4/linux/fs/ntfs/fs.c linux/fs/ntfs/fs.c
@@ -362,8 +362,11 @@
if((vol->nct & (nct_uni_xlate | nct_map | nct_utf8))==0)
/* default to UTF-8 */
vol->nct=nct_utf8;
- if(!vol->nls_map)
+ if(!vol->nls_map){
vol->nls_map=load_nls_default();
+ if (vol->nls_map)
+ vol->nct=nct_map | (vol->nct&nct_uni_xlate);
+ }
return 1;
needs_arg:
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)