]> git.karo-electronics.de Git - karo-tx-linux.git/commit
vfs: make path_openat take a struct filename pointer
authorJeff Layton <jlayton@redhat.com>
Wed, 10 Oct 2012 20:43:10 +0000 (16:43 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Thu, 11 Oct 2012 15:43:42 +0000 (11:43 -0400)
commit14f97f27cd2f2c77a713ca7214d6fa5376fa2108
tree21ca0a7dc40476fd0fb38d122118cd176e98030b
parentc20a0e973dbb9ddbb3c95166d00da8893782cc55
vfs: make path_openat take a struct filename pointer

...and fix up the callers. For do_file_open_root, just declare a
struct filename on the stack and fill out the .name field. For
do_filp_open, make it also take a struct filename pointer, and fix up its
callers to call it appropriately.

For filp_open, add a variant that takes a struct filename pointer and turn
filp_open into a wrapper around it.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/exec.c
fs/internal.h
fs/namei.c
fs/open.c
include/linux/fs.h
kernel/acct.c
mm/swapfile.c