From: Andrew Morton Date: Tue, 10 Jan 2006 04:51:24 +0000 (-0800) Subject: [PATCH] spufs: fix for recent "shrink dentry_struct" patch X-Git-Tag: v2.6.16-rc1~653 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=c3a9aea7aacb26881f3488b879750edb4a578c50;p=linux-2.6-omap-h63xx.git [PATCH] spufs: fix for recent "shrink dentry_struct" patch Cc: Eric Dumazet Cc: Paul Mackerras Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/arch/powerpc/platforms/cell/spufs/inode.c b/arch/powerpc/platforms/cell/spufs/inode.c index d2ba358c6e3..b3962c3a034 100644 --- a/arch/powerpc/platforms/cell/spufs/inode.c +++ b/arch/powerpc/platforms/cell/spufs/inode.c @@ -138,7 +138,7 @@ static void spufs_prune_dir(struct dentry *dir) { struct dentry *dentry, *tmp; mutex_lock(&dir->d_inode->i_mutex); - list_for_each_entry_safe(dentry, tmp, &dir->d_subdirs, d_child) { + list_for_each_entry_safe(dentry, tmp, &dir->d_subdirs, d_u.d_child) { spin_lock(&dcache_lock); spin_lock(&dentry->d_lock); if (!(d_unhashed(dentry)) && dentry->d_inode) {