diff options
author | Ralf Baechle <ralf@linux-mips.org> | 1997-12-01 04:02:08 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 1997-12-01 04:02:08 +0000 |
commit | fd095d09f2d475dc2e8599b1b8bae1cd65e91685 (patch) | |
tree | 217f87a997699505e0dd752931409b9f10fffe65 /include/linux/dcache.h | |
parent | c02e0599c4233f97071928f8118841954bacdadf (diff) |
Merge with 2.1.56 as first part of merging back my code.
Diffstat (limited to 'include/linux/dcache.h')
-rw-r--r-- | include/linux/dcache.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/linux/dcache.h b/include/linux/dcache.h index 2735f37ea..ebdf22bfc 100644 --- a/include/linux/dcache.h +++ b/include/linux/dcache.h @@ -50,6 +50,7 @@ struct dentry { struct qstr d_name; unsigned long d_time; /* used by d_revalidate */ struct dentry_operations *d_op; + struct super_block * d_sb; /* The root of the dentry tree */ }; struct dentry_operations { @@ -102,9 +103,11 @@ extern void d_delete(struct dentry *); /* allocate/de-allocate */ extern struct dentry * d_alloc(struct dentry * parent, const struct qstr *name); -extern void shrink_dcache(void); +extern void prune_dcache(int); extern int d_invalidate(struct dentry *); +#define shrink_dcache() prune_dcache(0) + /* only used at mount-time */ extern struct dentry * d_alloc_root(struct inode * root_inode, struct dentry * old_root); |