[PATCH] UNION_FS must depend on SLAB
authorAdrian Bunk <bunk@stusta.de>
Wed, 21 Feb 2007 06:30:10 +0000 (01:30 -0500)
committerErez Zadok <ezk@cs.sunysb.edu>
Sun, 23 Mar 2008 03:47:14 +0000 (23:47 -0400)
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@stusta.de>
Signed-off-by: Josef 'Jeff' Sipek <jsipek@cs.sunysb.edu>
fs/Kconfig

index 674cfa943c9b971365cfeab650d0a5127e03aa92..2d54b247dca883b9253203a279844a377c31d2c4 100644 (file)
@@ -1046,7 +1046,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