[Tux3] uml io_thread complains when mounting tux3
phillips at phunq.net
Tue Dec 30 14:27:04 PST 2008
I took the liberty of adding the list to the CC, I think that is what
On Tuesday 30 December 2008 08:05, Liu XiaoFeng wrote:
> Hi Daniel,
> I patched tux3 against linux-2.6.28, and ran it under uml (32bit host).
> The issue should be that the current kmem_cache_create() has different args
> with 2.6.26 so tux3 init-inodecache failed.
> After the below fix, everything seems ok now: mount, read, write, truncate,
> mkdir, sync...
> Regards, xiaofeng
> --- tux3.org/super.c 2008-12-30 22:32:49.000000000 +0800
> +++ tux3/super.c 2008-12-30 22:36:01.000000000 +0800
> @@ -62,7 +62,7 @@ static void pack_sb(struct sb *sb, struc
> #ifdef __KERNEL__
> static struct kmem_cache *tux_inode_cachep;
> -static void tux3_inode_init_once(struct kmem_cache *cachep, void *mem)
> +static void tux3_inode_init_once(void *mem)
> inode_init_once(&((tuxnode_t *)mem)->vfs_inode);
Ah, -Werror would have caught the warning. I think we should have
Werror in the kernel build (just Tux3).
It is nice to know it works on 2.6.28. Pretty soon we will move
development to a current kernel, probably Linus's GIT tree.
Tux3 mailing list
Tux3 at tux3.org
More information about the Tux3