]> git.baikalelectronics.ru Git - kernel.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>
Sat, 13 Oct 2012 00:15:09 +0000 (20:15 -0400)
commit127552b8ae414ee13971640ed019aa8710409e4d
tree5b8e9e17c4f03ddd719c9c2089d829e2a040854a
parente2aef77189bb1f661b28fa9ce1d61bb01e83a8fb
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