* [PATCH] spufs: fix build with shrunk struct dcache
@ 2006-01-09 19:29 Arnd Bergmann
0 siblings, 0 replies; only message in thread
From: Arnd Bergmann @ 2006-01-09 19:29 UTC (permalink / raw)
To: Paul Mackerras; +Cc: linuxppc64-dev, linux-kernel, Andrew Morton, Eric Dumazet
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 <arndb@de.ibm.com>
--- linux-2.6.16-rc.orig/arch/powerpc/platforms/cell/spufs/inode.c
+++ linux-2.6.16-rc/arch/powerpc/platforms/cell/spufs/inode.c
@@ -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) {
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-01-09 19:29 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-09 19:29 [PATCH] spufs: fix build with shrunk struct dcache Arnd Bergmann
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.