]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7152006d5ab0c1dcf84e53706f2115a66fbdff1d
tree66cf4572317d0e634f169cbdc702e773fe0e4b5c
parent6181e36e3eac8c228a849df9268b722e2f75392d
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