summaryrefslogtreecommitdiffstats
path: root/fs/nls/nls_iso8859-13.c
diff options
context:
space:
mode:
authorVasiliy Kulikov <segoon@openwall.com>2012-04-05 23:25:04 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2012-04-06 00:25:50 +0200
commit99663be772c827b8f5f594fe87eb4807be1994e5 (patch)
treef1adffce3f6d10a90f5be8b86b96729ce8c5d23c /fs/nls/nls_iso8859-13.c
parentpagemap: remove remaining unneeded spin_lock() (diff)
downloadlinux-99663be772c827b8f5f594fe87eb4807be1994e5.tar.xz
linux-99663be772c827b8f5f594fe87eb4807be1994e5.zip
proc: fix mount -t proc -o AAA
The proc_parse_options() call from proc_mount() runs only once at boot time. So on any later mount attempt, any mount options are ignored because ->s_root is already initialized. As a consequence, "mount -o <options>" will ignore the options. The only way to change mount options is "mount -o remount,<options>". To fix this, parse the mount options unconditionally. Signed-off-by: Vasiliy Kulikov <segoon@openwall.com> Reported-by: Arkadiusz Miskiewicz <a.miskiewicz@gmail.com> Tested-by: Arkadiusz Miskiewicz <a.miskiewicz@gmail.com> Cc: Alexey Dobriyan <adobriyan@gmail.com> Cc: Al Viro <viro@zeniv.linux.org.uk> Cc: Valdis Kletnieks <Valdis.Kletnieks@vt.edu> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/nls/nls_iso8859-13.c')
0 files changed, 0 insertions, 0 deletions