OSDN Git Service

nls: fix (and rename) mac NLS table files and config options
authorLinus Torvalds <torvalds@linux-foundation.org>
Sat, 2 Jun 2012 02:51:22 +0000 (19:51 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 2 Jun 2012 02:51:22 +0000 (19:51 -0700)
commit8b8c0daa2c5388b629e506f8fac486392f81c826
treecc86f647ab1883237976a6659d77877ebca7b070
parent92a8956364233c3b6f930aa00c852c558b70a91e
nls: fix (and rename) mac NLS table files and config options

The config options in the Kconfig file (with _CODEPAGE_ in the name)
didn't match the config option name in the Makefile (no _CODEPAGE_).

And both of them were of the hard-to-read MACXYZZY variety, which made
them hard to parse for normal humans: MACROMAN easily reads as "macro
man", not as "Mac Roman".

So rename the options to be consistent, and be NLS_MAC_xyzzy.  Rename
the files to be mac-xyzzy.c too, and drop the "nls" part entirely (it's
already in the directory name).

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
13 files changed:
fs/nls/Kconfig
fs/nls/Makefile
fs/nls/mac-celtic.c [moved from fs/nls/nls_macceltic.c with 99% similarity]
fs/nls/mac-centeuro.c [moved from fs/nls/nls_maccenteuro.c with 99% similarity]
fs/nls/mac-croatian.c [moved from fs/nls/nls_maccroatian.c with 99% similarity]
fs/nls/mac-cyrillic.c [moved from fs/nls/nls_maccyrillic.c with 99% similarity]
fs/nls/mac-gaelic.c [moved from fs/nls/nls_macgaelic.c with 99% similarity]
fs/nls/mac-greek.c [moved from fs/nls/nls_macgreek.c with 99% similarity]
fs/nls/mac-iceland.c [moved from fs/nls/nls_maciceland.c with 99% similarity]
fs/nls/mac-inuit.c [moved from fs/nls/nls_macinuit.c with 99% similarity]
fs/nls/mac-roman.c [moved from fs/nls/nls_macroman.c with 99% similarity]
fs/nls/mac-romanian.c [moved from fs/nls/nls_macromanian.c with 99% similarity]
fs/nls/mac-turkish.c [moved from fs/nls/nls_macturkish.c with 99% similarity]