[PATCH 16/16] GFS2: Export tty_write_message() for 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 --- kernel/printk.c | 1 + 1 files changed, 1 insertion(+) --- a/kernel/printk.c +++ b/kernel/printk.c @@ -999,6 +999,7 @@ void tty_write_message(struct tty_struct tty->driver->write(tty, msg, strlen(msg)); return; } +EXPORT_SYMBOL_GPL(tty_write_message); /* * printk rate limiting, lifted from the networking subsystem.