[Buildroot] squashfs 2.6.20 patch not work in 2.6.22

Sushi Sensei sinestado at gmail.com
Thu Sep 20 18:45:55 UTC 2007


to make work squashfs in 2.6.22 use 2.6.20 patch and modifiy
fs/sqashfs/inode.c :

1) add #include <linux/interrupt.h>
2) near to the end comment the refference to SLAB_CTOR_VERIFY and
SLAB_CTOR_CONSTRUCTOR


static void init_once(void * foo, struct kmem_cache * cachep, unsigned long
flags)
{
        struct squashfs_inode_info *ei = foo;

//      if ((flags & (SLAB_CTOR_VERIFY|SLAB_CTOR_CONSTRUCTOR)) ==
//
SLAB_CTOR_CONSTRUCTOR)
                inode_init_once(&ei->vfs_inode);
}


this may work in the future 2.6.23
-- 
------------------------------------------------------
--- Timeo Danaos et dona ferentes ---
------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20070920/4e4e4000/attachment-0001.html>


More information about the buildroot mailing list