BeFS: load default nls if none is specified in mount options
PATCH 1/1 BeFS: load default nls if none is specified in mount options
Makes the BeOS File Systen driver load the default nls if none is specified in the "iocharset" mount option.
Signed-off-by Vegard Wærp <[email protected]>
fs/befs/linuxvfs.c 2004-08-29 20:59:45.583725680 +0200 renamed from fs/befs/linuxvfs.c 2004-08-29 20:51:21.000000000 +0200 +5 -1
@@ -857,10 +857,14 @@ befs_sb->nls = load_nls(befs_sb->mount_opts.iocharset); if (!befs_sb->nls) { befs_warning(sb, "Cannot load nls %s" - "loding default nls", + " loading default nls", befs_sb->mount_opts.iocharset); befs_sb->nls = load_nls_default(); } + /* load default nls if none is specified in mount options */ + } else { + befs_debug(sb, "Loading default nls"); + befs_sb->nls = load_nls_default(); } return 0;