[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1179252599.2836.127.camel@dyn9047017100.beaverton.ibm.com>
Date: Tue, 15 May 2007 11:09:59 -0700
From: Badari Pulavarty <pbadari@...il.com>
To: Martin Michlmayr <tbm@...ius.com>
Cc: ext4 <linux-ext4@...r.kernel.org>, mcao@...ibm.com
Subject: Re: Fix section conflict of ext4_ext_{find_goal,invalidate_cache}
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists