From: Andrew Morton Cc: Eric Dumazet Cc: Ian Kent Signed-off-by: Andrew Morton --- fs/autofs4/root.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletion(-) diff -puN fs/autofs4/root.c~shrink-dentry-struct-fix fs/autofs4/root.c --- devel/fs/autofs4/root.c~shrink-dentry-struct-fix 2005-11-29 14:21:24.000000000 -0800 +++ devel-akpm/fs/autofs4/root.c 2005-11-29 14:21:24.000000000 -0800 @@ -143,7 +143,8 @@ static int autofs4_dcache_readdir(struct } while(1) { - struct dentry *de = list_entry(list, struct dentry, d_child); + struct dentry *de = list_entry(list, + struct dentry, d_u.d_child); if (!d_unhashed(de) && de->d_inode) { spin_unlock(&dcache_lock); _