On Tue, 2007-05-15 at 19:15 +0200, Martin Michlmayr wrote: > Building with GCC 4.2, I get the following error: > > CC [M] fs/ext4/extents.o > fs/ext4/extents.c:2166: error: __ksymtab_ext4_ext_find_goal causes a section type conflict > fs/ext4/extents.c:2163: error: __ksymtab_ext4_ext_invalidate_cache causes a section type conflict > > This is because ext4_ext_find_goal and ext4_ext_invalidate_cache are > declared static but also exported. Hmm.. Why are these exported ? Looking at the code EXPORT_SYMBOL(ext4_ext_invalidate_cache); EXPORT_SYMBOL(ext4_ext_insert_extent); EXPORT_SYMBOL(ext4_ext_walk_space); EXPORT_SYMBOL(ext4_ext_find_goal); EXPORT_SYMBOL(ext4_ext_calc_credits_for_insert); Mingming ? Why are we exporting these ? Thanks, Badari - To unsubscribe from this list: send the line "unsubscribe linux-ext4" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html