vfs: move getname() from callers to do_mount()
authorSeunghun Lee <waydi1@gmail.com>
Sun, 14 Sep 2014 13:15:10 +0000 (22:15 +0900)
committerAl Viro <viro@zeniv.linux.org.uk>
Thu, 9 Oct 2014 06:39:16 +0000 (02:39 -0400)
commit5e6123f3477e4260fb14392f0a88f1a842fa4d42
tree66cf4572317d0e634f169cbdc702e773fe0e4b5c
parent4d93bc3e81736ce55c79d9cae743bab4f89b4f9c
vfs: move getname() from callers to do_mount()

It would make more sense to pass char __user * instead of
char * in callers of do_mount() and do getname() inside do_mount().

Suggested-by: Al Viro <viro@ZenIV.linux.org.uk>
Signed-off-by: Seunghun Lee <waydi1@gmail.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
arch/alpha/kernel/osf_sys.c
fs/compat.c
fs/namespace.c
include/linux/fs.h