2.6.18-mm1 inode_diet fix

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <[email protected]>


--- 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;
 }

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux