Skip to content
Snippets Groups Projects
Commit 73d049a4 authored by Al Viro's avatar Al Viro
Browse files

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: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 5b6ca027
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment