Oops forgot attachment...

Paulius Zaleckas wrote:
[EMAIL PROTECTED] wrote:
Paulius Zaleckas:
It is ARM (Freescale i.MXL). Kernel is 2.6.26-rc9. I am using busybox
for shell and utilities like mount.
While I am unfamiliar with ARM, are these warnings natural thing in ARM
world?

I think they are common.

I'd suggest you to try replacing one of the kernel/machine pair by other
version. For instance,
- ARM + 2.6.25 (stable kernel)
- x86 + 2.6.26-rc9

And I can't understand what the warning,
fs/aufs/super.c:680: warning: initialization from incompatible pointer type
means. Are you sure that you copied fs/aufs25?

Yes, I copied fs/aufs25. See attached patch which fixes this warning and
also fixes some crashes, I will post new crash report pretty soon :)

If 2.6.26-rc9 has changed some function signature (its type or
parameters), then aufs won't work... But I have not checked 2.6.26-rc9
yet.


-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08

? fs/aufs25/Kconfig
Index: fs/aufs25/super.c
===================================================================
RCS file: /cvsroot/aufs/aufs/fs/aufs25/super.c,v
retrieving revision 1.9
diff -u -r1.9 super.c
--- fs/aufs25/super.c	30 Jun 2008 03:51:10 -0000	1.9
+++ fs/aufs25/super.c	9 Jul 2008 11:24:18 -0000
@@ -313,7 +313,7 @@
 #endif
 }
 
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 26) && defined(MmTree)
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 26) || defined(MmTree)
 static void aufs_umount_begin(struct super_block *arg)
 #define AuUmountBeginSb(arg)	(arg)
 #else
@@ -355,7 +355,7 @@
 	sbinfo = au_sbi(sb);
 	if (unlikely(!sbinfo))
 		return;
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 26) && defined(MmTree)
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 26) || defined(MmTree)
 	aufs_umount_begin(sb);
 #endif
 	kobject_put(&sbinfo->si_kobj);
@@ -674,9 +674,7 @@
 
 	.put_super	= aufs_put_super,
 	.remount_fs	= aufs_remount_fs,
-#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 26) || !defined(MmTree)
 	.umount_begin	= aufs_umount_begin
-#endif
 };
 
 /* ---------------------------------------------------------------------- */
-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08

Reply via email to