[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1371131130-1894-1-git-send-email-paul.gortmaker@windriver.com>
Date: Thu, 13 Jun 2013 09:45:30 -0400
From: Paul Gortmaker <paul.gortmaker@...driver.com>
To: "Theodore Ts'o" <tytso@....edu>
CC: <linux-ext4@...r.kernel.org>,
Paul Gortmaker <paul.gortmaker@...driver.com>
Subject: [PATCH] jbd2: export __jbd2_debug for modular builds
The commit "jbd2: use a single printk for jbd_debug()" introduced
a new function, __jbd2_debug. However it needs to be exported
or the final modpost stage of the build will fail with:
ERROR: "__jbd2_debug" [fs/ext4/ext4.ko] undefined!
make[1]: *** [__modpost] Error 1
make: *** [modules] Error 2
Signed-off-by: Paul Gortmaker <paul.gortmaker@...driver.com>
---
[Feel free to squash this into the original commit since it is
in your dev branch.]
fs/jbd2/journal.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/fs/jbd2/journal.c b/fs/jbd2/journal.c
index 331fd59..4c8b8d4 100644
--- a/fs/jbd2/journal.c
+++ b/fs/jbd2/journal.c
@@ -118,6 +118,7 @@ void __jbd2_debug(int level, const char *file, const char *func,
printk(KERN_DEBUG "%s: (%s, %u): %pV\n", file, func, line, &vaf);
va_end(args);
}
+EXPORT_SYMBOL(__jbd2_debug);
#endif
/* Checksumming functions */
--
1.8.1.2
--
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