From: Andrew Morton Cc: Eric Dumazet Signed-off-by: Andrew Morton --- arch/powerpc/platforms/cell/spufs/inode.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletion(-) diff -puN arch/powerpc/platforms/cell/spufs/inode.c~shrink-dentry-struct-spufs-fix arch/powerpc/platforms/cell/spufs/inode.c --- 25/arch/powerpc/platforms/cell/spufs/inode.c~shrink-dentry-struct-spufs-fix 2005-11-29 17:02:53.000000000 -0700 +++ 25-akpm/arch/powerpc/platforms/cell/spufs/inode.c 2005-11-29 17:02:53.000000000 -0700 @@ -166,7 +166,8 @@ static int spufs_rmdir(struct inode *roo /* remove all entries */ err = 0; - list_for_each_entry_safe(dentry, tmp, &dir_dentry->d_subdirs, d_child) { + list_for_each_entry_safe(dentry, tmp, &dir_dentry->d_subdirs, + d_u.d_child) { spin_lock(&dcache_lock); spin_lock(&dentry->d_lock); if (!(d_unhashed(dentry)) && dentry->d_inode) { _