patch-2.1.47 linux/include/linux/dcache.h
Next file: linux/include/linux/fs.h
Previous file: linux/fs/super.c
Back to the patch index
Back to the overall index
- Lines: 11
- Date:
Mon Jul 21 09:53:20 1997
- Orig file:
v2.1.46/linux/include/linux/dcache.h
- Orig date:
Thu Jul 17 10:06:08 1997
diff -u --recursive --new-file v2.1.46/linux/include/linux/dcache.h linux/include/linux/dcache.h
@@ -98,6 +98,10 @@
/* 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);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov