[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090811185357.GP1756@mit.edu>
Date: Tue, 11 Aug 2009 14:53:57 -0400
From: Theodore Tso <tytso@....edu>
To: Xiang Wang <xiangw@...gle.com>
Cc: linux-ext4@...r.kernel.org, Andreas Dilger <adilger@....com>,
Alex Tomas <bzzz@....com>, Curt Wohlgemuth <curtw@...gle.com>
Subject: Re: [PATCH, RFC -V2 1/4] ext4: Add configurable run-time mballoc
debugging
On Tue, Aug 11, 2009 at 11:15:53AM -0700, Xiang Wang wrote:
> Hi Ted,
>
> I tried to apply this patch to our kernel, but I encountered some
> problems in building the kernel:
>
> FATAL: fs/ext4/ext4.o(.text+0x24f2d): Section mismatch in reference
> from the function exit_ext4_mballoc() to the function
> .exit.text:ext4_remove_debugfs_entry()
>
> Looking at the code, the problem seems to be that, exit_ext4_mballoc
> calls ext4_remove_debugfs_entry. And ext4_remove_debugfs_entry has the
> "__exit" annotation while exit_ext4_mballoc does not. I tried removing
> the "__exit" annotation from ext4_remove_debugfs_entry and it builds
> well.
Good catch; I didn't notice because I wasn't compiling with
CONFIG_DEBUG_SECTION_MISMATCH=y. Your fix is the right one.
- Ted
--
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