lookup_hash(9) lookup single pathname component on already hashed name

SYNOPSIS

struct dentry * lookup_hash(const struct qstr * name, struct dentry * base);

ARGUMENTS

name

name and hash to lookup

base

base directory to lookup from

DESCRIPTION

The name must have been verified and hashed (see lookup_one_len). Using this after just full_name_hash is unsafe.

This function also doesn't check for search permission on base directory.

Use lookup_one_len_unlocked instead, unless you really know what you are doing.

Do not hold i_mutex; this helper takes i_mutex if necessary.

COPYRIGHT