X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Flinux%2Fdcache.h;h=4607ee97eef996c1eebfafa3c766ed5b6907233c;hb=9464c7cf61b9433057924c36e6e02f303a00e768;hp=ea8510fe05c9d78f21e86a06b46dc7a7ece5155e;hpb=41689045f6a3cbe0550e1d34e9cc20d2e8c432ba;p=linux-2.6.git diff --git a/include/linux/dcache.h b/include/linux/dcache.h index ea8510fe0..4607ee97e 100644 --- a/include/linux/dcache.h +++ b/include/linux/dcache.h @@ -115,18 +115,6 @@ struct dentry { unsigned char d_iname[DNAME_INLINE_LEN_MIN]; /* small names */ }; -/* - * dentry->d_lock spinlock nesting subclasses: - * - * 0: normal - * 1: nested - */ -enum dentry_d_lock_class -{ - DENTRY_D_LOCK_NORMAL, /* implicitly used by plain spin_lock() APIs. */ - DENTRY_D_LOCK_NESTED -}; - struct dentry_operations { int (*d_revalidate)(struct dentry *, struct nameidata *); int (*d_hash) (struct dentry *, struct qstr *); @@ -222,7 +210,6 @@ static inline int dname_external(struct dentry *dentry) */ extern void d_instantiate(struct dentry *, struct inode *); extern struct dentry * d_instantiate_unique(struct dentry *, struct inode *); -extern struct dentry * d_materialise_unique(struct dentry *, struct inode *); extern void d_delete(struct dentry *); /* allocate/de-allocate */ @@ -231,7 +218,7 @@ extern struct dentry * d_alloc_anon(struct inode *); extern struct dentry * d_splice_alias(struct inode *, struct dentry *); extern void shrink_dcache_sb(struct super_block *); extern void shrink_dcache_parent(struct dentry *); -extern void shrink_dcache_for_umount(struct super_block *); +extern void shrink_dcache_anon(struct hlist_head *); extern int d_invalidate(struct dentry *); extern void flush_dentry_attributes(void);