[Users] Debian etch + 2.6.18 + openvz

Kirill Korotaev dev at sw.ru
Mon Jun 4 04:34:36 EDT 2007


try setting CONFIG_UBC_DEBUG_IO to n in your .config file
or applying the attached patch.

Thanks,
Kirill

Rafael Isturiz wrote:
> Hi,
> 
>      Actually i'm having problems when i try to compile the kernel with 
> the las openvz stable patch... The message is:
> 
> [...]
>   CC      kernel/ub/io_acct.o
> kernel/ub/io_acct.c:461: error: unknown field 'fops' specified in 
> initializer
> kernel/ub/io_acct.c:461: warning: missing braces around initializer
> kernel/ub/io_acct.c:461: warning: (near initialization for 
> 'bc_ioacct_debug_entry.u')
> kernel/ub/io_acct.c:461: warning: initialization from incompatible 
> pointer type
> make[3]: *** [kernel/ub/io_acct.o] Error 1
> make[2]: *** [kernel/ub] Error 2
> make[1]: *** [kernel] Error 2
> make[1]: se sale del directorio `/usr/src/linux-2.6.18'
> make: *** [debian/stamp-build-kernel] Error 2
> 
> Any help to fix this issue?
> 
> Thanks.
> 

-------------- next part --------------
--- ./kernel/ub/io_acct.c.ve2380	2007-05-24 11:48:03.000000000 +0400
+++ ./kernel/ub/io_acct.c	2007-06-04 12:33:15.000000000 +0400
@@ -457,8 +457,8 @@ static struct file_operations bc_io_debu
 };
 
 static struct bc_proc_entry bc_ioacct_debug_entry = {
-	.name = "ioacct_debug",
-	.fops = &bc_io_debug_ops,
+	.name		= "ioacct_debug",
+	.u.fops		= &bc_io_debug_ops,
 };
 #endif
 


More information about the Users mailing list