2009-11-12 09:38:20

by Stefan Schmidt

[permalink] [raw]
Subject: [PATCH] fs/jbd: Export log_start_commit to fix ext3 build

>From 9bf22057947bfaeef14287dd03ac8f058e4dd43a Mon Sep 17 00:00:00 2001
From: Stefan Schmidt <[email protected]>
Date: Thu, 12 Nov 2009 09:53:50 +0100
Subject: [PATCH] fs/jbd: Export log_start_commit to fix ext3 build.

This fixes:
ERROR: "log_start_commit" [fs/ext3/ext3.ko] undefined!

Signed-off-by: Stefan Schmidt <[email protected]>
---
fs/jbd/journal.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/fs/jbd/journal.c b/fs/jbd/journal.c
index 49d5cd6..4160afa 100644
--- a/fs/jbd/journal.c
+++ b/fs/jbd/journal.c
@@ -73,6 +73,7 @@ EXPORT_SYMBOL(journal_errno);
EXPORT_SYMBOL(journal_ack_err);
EXPORT_SYMBOL(journal_clear_err);
EXPORT_SYMBOL(log_wait_commit);
+EXPORT_SYMBOL(log_start_commit);
EXPORT_SYMBOL(journal_start_commit);
EXPORT_SYMBOL(journal_force_commit_nested);
EXPORT_SYMBOL(journal_wipe);
--
1.6.5.2



2009-11-12 09:34:00

by Jan Kara

[permalink] [raw]
Subject: Re: [PATCH] fs/jbd: Export log_start_commit to fix ext3 build

On Thu 12-11-09 09:58:43, Stefan Schmidt wrote:
> From 9bf22057947bfaeef14287dd03ac8f058e4dd43a Mon Sep 17 00:00:00 2001
> From: Stefan Schmidt <[email protected]>
> Date: Thu, 12 Nov 2009 09:53:50 +0100
> Subject: [PATCH] fs/jbd: Export log_start_commit to fix ext3 build.
>
> This fixes:
> ERROR: "log_start_commit" [fs/ext3/ext3.ko] undefined!
>
> Signed-off-by: Stefan Schmidt <[email protected]>
Argh :(. Thanks! My test kernels have ext3 compiled in... Merged and will
send Linus pull request in a minute.

Honza

> ---
> fs/jbd/journal.c | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/fs/jbd/journal.c b/fs/jbd/journal.c
> index 49d5cd6..4160afa 100644
> --- a/fs/jbd/journal.c
> +++ b/fs/jbd/journal.c
> @@ -73,6 +73,7 @@ EXPORT_SYMBOL(journal_errno);
> EXPORT_SYMBOL(journal_ack_err);
> EXPORT_SYMBOL(journal_clear_err);
> EXPORT_SYMBOL(log_wait_commit);
> +EXPORT_SYMBOL(log_start_commit);
> EXPORT_SYMBOL(journal_start_commit);
> EXPORT_SYMBOL(journal_force_commit_nested);
> EXPORT_SYMBOL(journal_wipe);
> --
> 1.6.5.2
>
--
Jan Kara <[email protected]>
SUSE Labs, CR