Re: [BUILD FAILURE][PATCH] Export symbol log_start_commit. ext3needs it.

From: Jan Kara
Date: Thu Nov 12 2009 - 04:37:41 EST


On Thu 12-11-09 11:06:52, Nikanth Karthikesan wrote:
> The linus git fails to build with the message
> ERROR: "log_start_commit" [fs/ext3/ext3.ko] undefined!
> Top commit id: aa021baa3295fa6e3f367d80f8955dd5176656eb
>
> Export log_start_commit to modules. ext3 needs it to be built
> as a module.
>
> Signed-off-by: Nikanth Karthikesan <knikanth@xxxxxxx>
Thanks! I've already merged a fix.

Honza
>
> ---
>
> diff --git a/fs/jbd/journal.c b/fs/jbd/journal.c
> index 49d5cd6..2e13cf3 100644
> --- a/fs/jbd/journal.c
> +++ b/fs/jbd/journal.c
> @@ -72,6 +72,7 @@ EXPORT_SYMBOL(journal_abort);
> EXPORT_SYMBOL(journal_errno);
> EXPORT_SYMBOL(journal_ack_err);
> EXPORT_SYMBOL(journal_clear_err);
> +EXPORT_SYMBOL(log_start_commit);
> EXPORT_SYMBOL(log_wait_commit);
> EXPORT_SYMBOL(journal_start_commit);
> EXPORT_SYMBOL(journal_force_commit_nested);
--
Jan Kara <jack@xxxxxxx>
SUSE Labs, CR
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/