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>
Showing
- fs/exec.c 3 additions, 2 deletionsfs/exec.c
- fs/internal.h 2 additions, 2 deletionsfs/internal.h
- fs/namei.c 10 additions, 8 deletionsfs/namei.c
- fs/open.c 21 additions, 4 deletionsfs/open.c
- include/linux/fs.h 1 addition, 0 deletionsinclude/linux/fs.h
- kernel/acct.c 3 additions, 3 deletionskernel/acct.c
- mm/swapfile.c 2 additions, 2 deletionsmm/swapfile.c
Please register or sign in to comment