• A
    open-style analog of vfs_path_lookup() · 73d049a4
    Al Viro 提交于
    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: NAl Viro <viro@zeniv.linux.org.uk>
    73d049a4
nfsctl.c 2.1 KB