Commit 7c59354d authored by Petr Vandrovec's avatar Petr Vandrovec Committed by Linus Torvalds

[PATCH] NLS: Allow user to select 1:1 mapping

This allows user to select 'default' encoding, which has defined mapping
for each of 255 byte values, so one can use it as a fallback when it
finds filesystem with unknown encoding (EBCDIC for example) just to get
characters through filesystem.

				Petr Vandrovec
parent 888511ec
......@@ -20,7 +20,8 @@
#endif
#include <linux/spinlock.h>
static struct nls_table *tables;
static struct nls_table default_table;
static struct nls_table *tables = &default_table;
static spinlock_t nls_lock = SPIN_LOCK_UNLOCKED;
/*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment