From: Dave Reisner Date: Tue, 18 Dec 2012 00:03:01 +0000 (-0800) Subject: fs/fat: strip "cp" prefix from codepage in display X-Git-Tag: v3.8-rc1~74^2~67 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c6c20372bbb2f70d2757eed0a8d6860884bae11f;p=pandora-kernel.git fs/fat: strip "cp" prefix from codepage in display Option parsing code expects an unsigned integer for the codepage option, but prefixes and stores this option with "cp" before passing to load_nls(). This makes the displayed option in /proc an invalid one. Strip the prefix when printing so that the displayed option is valid for reuse. Signed-off-by: Dave Reisner Acked-by: OGAWA Hirofumi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed