Index: linux-2.6.17-rc6-mm2/include/linux/dcache.h =================================================================== --- linux-2.6.17-rc6-mm2.orig/include/linux/dcache.h 2006-06-16 11:48:51.712691705 -0700 +++ linux-2.6.17-rc6-mm2/include/linux/dcache.h 2006-06-17 19:21:28.274234133 -0700 @@ -93,7 +93,6 @@ struct dentry { struct dentry *d_parent; /* parent directory */ struct qstr d_name; - struct list_head d_lru; /* LRU list */ /* * d_child and d_rcu can share memory */ Index: linux-2.6.17-rc6-mm2/fs/dcache.c =================================================================== --- linux-2.6.17-rc6-mm2.orig/fs/dcache.c 2006-06-16 12:06:59.671688227 -0700 +++ linux-2.6.17-rc6-mm2/fs/dcache.c 2006-06-17 19:25:04.282354402 -0700 @@ -61,7 +61,6 @@ static kmem_cache_t *dentry_cache __read static unsigned int d_hash_mask __read_mostly; static unsigned int d_hash_shift __read_mostly; static struct hlist_head *dentry_hashtable __read_mostly; -static LIST_HEAD(dentry_unused); /* Statistics gathering. */ struct dentry_stat_t dentry_stat = { @@ -802,7 +801,6 @@ struct dentry *d_alloc(struct dentry * p dentry->d_cookie = NULL; #endif INIT_HLIST_NODE(&dentry->d_hash); - INIT_LIST_HEAD(&dentry->d_lru); INIT_LIST_HEAD(&dentry->d_subdirs); INIT_LIST_HEAD(&dentry->d_alias);