As you can see in http://lxr.linux.no/#linux+v3.9.5/fs/namei.c#L1751
for(;;) {
struct qstr this;
long len;
int type;
err = may_lookup(nd);
if (err)
break;
len = hash_name(name, &this.hash);
at the last line, I never find struct qstr has a member name hash, only thing I found is:
struct qstr {
union {
struct {
HASH_LEN_DECLARE;
};
u64 hash_len;
};
const unsigned char *name;
};
can anyone tell me what happened?