diff options
Diffstat (limited to 'include/linux/dcache.h')
-rw-r--r-- | include/linux/dcache.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/dcache.h b/include/linux/dcache.h index 1ca8af0d7..5a1dc90bf 100644 --- a/include/linux/dcache.h +++ b/include/linux/dcache.h @@ -98,6 +98,10 @@ extern void d_move(struct dentry * entry, struct dentry * newparent, struct qstr /* appendix may either be NULL or be used for transname suffixes */ extern struct dentry * d_lookup(struct dentry * dir, struct qstr * name); +/* validate "insecure" dentry pointer */ +extern int d_validate(struct dentry *dentry, struct dentry *dparent, + unsigned int hash, unsigned int len); + /* write full pathname into buffer and return length */ extern int d_path(struct dentry * entry, struct dentry * chroot, char * buf); |