summaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/sysfile.h
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2012-12-17 16:03:01 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2012-12-17 17:15:22 -0800
commitc6c20372bbb2f70d2757eed0a8d6860884bae11f (patch)
tree62ce9835296c45696abb9ab50a9e12c0b84cfbbd /fs/ocfs2/sysfile.h
parent5b3d5aeaa333850756f41350fed2fc95912b2a4f (diff)
downloadlinux-c6c20372bbb2f70d2757eed0a8d6860884bae11f.tar.bz2
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 <dreisner@archlinux.org> Acked-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/ocfs2/sysfile.h')
0 files changed, 0 insertions, 0 deletions