• Al Viro's avatar
    open-style analog of vfs_path_lookup() · 73d049a4
    Al Viro authored
    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>
open.c 26.3 KB