patch-2.2.19 linux/include/linux/dcache.h
Next file: linux/include/linux/elf.h
Previous file: linux/include/linux/cdrom.h
Back to the patch index
Back to the overall index
- Lines: 20
- Date:
Sun Mar 25 11:37:40 2001
- Orig file:
v2.2.18/include/linux/dcache.h
- Orig date:
Sun Mar 25 11:28:38 2001
diff -u --new-file --recursive --exclude-from /usr/src/exclude v2.2.18/include/linux/dcache.h linux/include/linux/dcache.h
@@ -106,6 +106,10 @@
* If this dentry points to a directory, then
* s_nfsd_free_path semaphore will be down
*/
+#define DCACHE_REFERENCED 0x0008 /* This dentry is been recently
+ * referenced so try to keep it in
+ * cache.
+ */
/*
* d_drop() unhashes the entry from the parent
@@ -149,7 +153,7 @@
/* dcache memory management */
extern void shrink_dcache_memory(int, unsigned int);
extern void check_dcache_memory(void);
-extern void free_inode_memory(int); /* defined in fs/inode.c */
+extern void free_inode_memory(void); /* defined in fs/inode.c */
/* only used at mount-time */
extern struct dentry * d_alloc_root(struct inode * root_inode, struct dentry * old_root);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)