commit fcc58b3152e5c4748aa4190b2a58595a9bd89648
Author: Adrian Bunk <[EMAIL PROTECTED]>
Date:   Sat May 5 15:28:33 2007 -0400

    [PATCH] fix unionfs compilation
    
    On Sat, May 05, 2007 at 01:49:55AM -0700, Andrew Morton wrote:
    >...
    > Changes since 2.6.21-rc7-mm2:
    >...
    >  git-unionfs.patch
    >...
    >  git trees
    >...
    
    <--  snip  -->
    
    ...
      CC      fs/unionfs/super.o
    /home/bunk/linux/kernel-2.6/linux-2.6.21-mm1/fs/unionfs/super.c: In 
function ‘init_once’:
    /home/bunk/linux/kernel-2.6/linux-2.6.21-mm1/fs/unionfs/super.c:822: error: 
‘SLAB_CTOR_VERIFY’ undeclared (first use in this function)
    /home/bunk/linux/kernel-2.6/linux-2.6.21-mm1/fs/unionfs/super.c:822: error: 
(Each undeclared identifier is reported only once
    /home/bunk/linux/kernel-2.6/linux-2.6.21-mm1/fs/unionfs/super.c:822: error: 
for each function it appears in.)
    make[3]: *** [fs/unionfs/super.o] Error 1
    
    <--  snip  -->
    
    Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]>
    Signed-off-by: Josef 'Jeff' Sipek <[EMAIL PROTECTED]>

diff --git a/fs/unionfs/super.c b/fs/unionfs/super.c
index 
def4f623037085f13b8b5028e4d5d02b4613fd01..593d70a83d6b3d30071338f645ce43f18c00851d
 100644
--- a/fs/unionfs/super.c
+++ b/fs/unionfs/super.c
@@ -848,8 +848,7 @@ static void init_once(void *v, struct km
 {
        struct unionfs_inode_info *i = v;
 
-       if ((flags & (SLAB_CTOR_VERIFY | SLAB_CTOR_CONSTRUCTOR)) ==
-           SLAB_CTOR_CONSTRUCTOR)
+       if (flags & SLAB_CTOR_CONSTRUCTOR)
                inode_init_once(&i->vfs_inode);
 }
 
_______________________________________________
unionfs-cvs mailing list: http://unionfs.filesystems.org/
[email protected]
http://www.fsl.cs.sunysb.edu/mailman/listinfo/unionfs-cvs

Reply via email to