From: Steven Whitehouse Date: Mon, 16 Jan 2006 11:31:24 +0000 (+0000) Subject: [PATCH] Export tty_write_message() for GFS2 quota code X-Git-Tag: v2.6.19-rc1~32^2~318 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=b346671fa196abaf82ed3e1842f981209f7887af;p=karo-tx-linux.git [PATCH] Export tty_write_message() for GFS2 quota code The kernel's existing quota code makes use of tty_write_message() to inform the user of certain events. GFS2 also uses the same mechanism so we export it here to avoid code duplication in GFS2. Signed-off-by: Steven Whitehouse --- diff --git a/kernel/printk.c b/kernel/printk.c index 13ced0f7828f..7ba79ad895e4 100644 --- a/kernel/printk.c +++ b/kernel/printk.c @@ -999,6 +999,7 @@ void tty_write_message(struct tty_struct *tty, char *msg) tty->driver->write(tty, msg, strlen(msg)); return; } +EXPORT_SYMBOL_GPL(tty_write_message); /* * printk rate limiting, lifted from the networking subsystem.