[patch] fix intermezzo compile in 2.4.20-rc1

Adrian Bunk (bunk@fs.tum.de)
Thu, 31 Oct 2002 01:21:31 +0100 (CET)


I got the following error at the final linking of 2.4.20-rc1:

<-- snip -->

...
-o vmlinux
fs/fs.o(.text+0x53bc3): In function `presto_free_cache':
: undefined reference to `presto_dentry_slab'
make: *** [vmlinux] Error 1

<-- snip -->

K S Sreeram <sreeram@tachyontech.net> proposed the following a week ago:

--- linux-2.4.19-full/fs/intermezzo/dcache.c.old 2002-10-31 01:03:12.000000000 +0100
+++ linux-2.4.19-full/fs/intermezzo/dcache.c 2002-10-31 01:03:36.000000000 +0100
@@ -48,7 +48,7 @@

#include <linux/intermezzo_fs.h>

-static kmem_cache_t * presto_dentry_slab;
+kmem_cache_t * presto_dentry_slab;

/* called when a cache lookup succeeds */
static int presto_d_revalidate(struct dentry *de, int flag)

cu
Adrian

-- 

"Is there not promise of rain?" Ling Tan asked suddenly out of the darkness. There had been need of rain for many days. "Only a promise," Lao Er said. Pearl S. Buck - Dragon Seed

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/