spufs: fix build with shrunk struct dcache
Subsystems (3)
PATCH 1/1 spufs: fix build with shrunk struct dcache
spufs was merged at about the same time as Eric's "shrink dcache struct" patch, so we need to fix up the newly introduced reference to dentry->d_child.
Signed-off-by Arnd Bergmann <[email protected]>
arch/powerpc/platforms/cell/spufs/inode.c +1 -1
@@ -138,7 +138,7 @@ static void spufs_prune_dir(struct dentr {struct dentry *dentry, *tmp;down (&dir->d_inode->i_sem); -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) {