All of lore.kernel.org
 help / color / mirror / Atom feed
* 2.6.18-mm1 inode_diet fix
@ 2006-09-26 17:54 Judith Lebzelter
  0 siblings, 0 replies; only message in thread
From: Judith Lebzelter @ 2006-09-26 17:54 UTC (permalink / raw)
  To: linux-kernel; +Cc: akpm, tytso

Hi,

In OSDL's automated cross-compiles, I see an error for powerpc allmodconfig in 2.6.18-mm1:

arch/powerpc/platforms/pseries/hvCall_inst.c: In function 'hcall_inst_seq_open':
arch/powerpc/platforms/pseries/hvCall_inst.c:88: error: 'struct inode' has no member named 'u'
make[2]: [arch/powerpc/platforms/pseries/hvCall_inst.o] Error 1 (ignored)
powerpc64-unknown-linux-gnu-ld: arch/powerpc/platforms/pseries/hvCall_inst.o: No such file: No such file or directory
make[2]: [arch/powerpc/platforms/pseries/built-in.o] Error 1 (ignored)
powerpc64-unknown-linux-gnu-ld: arch/powerpc/platforms/pseries/built-in.o: No such file: No such file or directory
make[1]: [arch/powerpc/platforms/built-in.o] Error 1 (ignored)


This seems to be an oversight in patch:
inode_diet-replace-inodeugeneric_ip-with-inodei_private.patch

Here is a patch that removes the error.

Signed-off-by: Judith Lebzelter <judith@osdl.org>


--- linux/arch/powerpc/platforms/pseries/hvCall_inst.c.orig	2006-09-26 09:52:19.701978352 -0700
+++ linux/arch/powerpc/platforms/pseries/hvCall_inst.c	2006-09-26 09:52:33.971809008 -0700
@@ -85,7 +85,7 @@
 
 	rc = seq_open(file, &hcall_inst_seq_ops);
 	seq = file->private_data;
-	seq->private = file->f_dentry->d_inode->u.generic_ip;
+	seq->private = file->f_dentry->d_inode->i_private;
 
 	return rc;
 }


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-09-26 17:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-26 17:54 2.6.18-mm1 inode_diet fix Judith Lebzelter

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.