- struct dentry * lookup_hash(const struct qstr * name, struct dentry * base);
- name and hash to lookup
- base directory to lookup from
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.