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>
Sat, 13 Oct 2012 00:15:09 +0000 (20:15 -0400)
commit669abf4e5539c8aa48bf28c965be05c0a7b58a27
tree5b8e9e17c4f03ddd719c9c2089d829e2a040854a
parent873f1eedc1b983d772283279192c4ca2f60e8482
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