d_validate - verify dentry provided from insecure source (deprecated)
2. SYNOPSIS ▲
int d_validate(struct dentry * dentry , struct dentry * dparent );
3. ARGUMENTS ▲
The dentry alleged to be valid child of dparent
The parent dentry (known to be valid)
4. DESCRIPTION ▲
An insecure source has sent us a dentry, here we verify it and dget it. This is used by ncpfs in its readdir implementation. Zero is returned in the dentry is invalid.
This function is slow for big directories, and deprecated, do not use it.
5. COPYRIGHT ▲