-
- Downloads
open-style analog of vfs_path_lookup()
new function: file_open_root(dentry, mnt, name, flags) opens the file
vfs_path_lookup would arrive to.
Note that name can be empty; in that case the usual requirement that
dentry should be a directory is lifted.
open-coded equivalents switched to it, may_open() got down exactly
one caller and became static.
Signed-off-by:
Al Viro <viro@zeniv.linux.org.uk>
Showing
- arch/um/drivers/mconsole_kern.c 2 additions, 19 deletionsarch/um/drivers/mconsole_kern.c
- fs/internal.h 2 additions, 0 deletionsfs/internal.h
- fs/namei.c 52 additions, 28 deletionsfs/namei.c
- fs/nfsctl.c 4 additions, 17 deletionsfs/nfsctl.c
- fs/open.c 14 additions, 0 deletionsfs/open.c
- include/linux/fs.h 2 additions, 2 deletionsinclude/linux/fs.h
- kernel/sysctl_binary.c 1 addition, 18 deletionskernel/sysctl_binary.c
Loading
Please register or sign in to comment