GIT: unionfs2-2.6.27.y: [PATCH] UNION_FS must depend on SLAB

Erez Zadok ezk at fsl.cs.sunysb.edu
Thu Aug 12 23:15:51 EDT 2010


commit 0de3667d05072a849a7e1ec1616054515ae0599e
Author: Adrian Bunk <bunk at stusta.de>
Date:   Wed Feb 21 01:30:10 2007 -0500

    [PATCH] UNION_FS must depend on SLAB
    
    On Sat, Feb 17, 2007 at 09:51:46PM -0800, Andrew Morton wrote:
    >...
    > Changes since 2.6.20-mm1:
    >...
    >  git-unionfs.patch
    >...
    >  git trees
    >...
    
    <--  snip  -->
    
    ...
      CC      fs/unionfs/copyup.o
    /home/bunk/linux/kernel-2.6/linux-2.6.20-mm2/fs/unionfs/copyup.c: In function 'create_parents_named':
    /home/bunk/linux/kernel-2.6/linux-2.6.20-mm2/fs/unionfs/copyup.c:620: error: 'malloc_sizes' undeclared (first use in this function)
    /home/bunk/linux/kernel-2.6/linux-2.6.20-mm2/fs/unionfs/copyup.c:620: error: (Each undeclared identifier is reported only once
    /home/bunk/linux/kernel-2.6/linux-2.6.20-mm2/fs/unionfs/copyup.c:620: error: for each function it appears in.)
    make[3]: *** [fs/unionfs/copyup.o] Error 1
    
    <--  snip  -->
    
    Signed-off-by: Adrian Bunk <bunk at stusta.de>
    Signed-off-by: Josef 'Jeff' Sipek <jsipek at cs.sunysb.edu>

diff --git a/fs/Kconfig b/fs/Kconfig
index 0390a16..8327a75 100644
--- a/fs/Kconfig
+++ b/fs/Kconfig
@@ -997,7 +997,7 @@ config ECRYPT_FS
 
 config UNION_FS
 	tristate "Union file system (EXPERIMENTAL)"
-	depends on EXPERIMENTAL
+	depends on SLAB && EXPERIMENTAL
 	help
 	  Unionfs is a stackable unification file system, which appears to
 	  merge the contents of several directories (branches), while keeping


More information about the unionfs-cvs mailing list