]> err.no Git - linux-2.6/commitdiff
[PATCH] Export tty_write_message() for GFS2 quota code
authorSteven Whitehouse <swhiteho@redhat.com>
Mon, 16 Jan 2006 11:31:24 +0000 (11:31 +0000)
committerSteven Whitehouse <swhiteho@redhat.com>
Mon, 16 Jan 2006 15:50:24 +0000 (15:50 +0000)
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 <swhiteho@redhat.com>
kernel/printk.c

index 13ced0f7828f477d6edc6356dcdfd7e8617cb567..7ba79ad895e4c41e9b4b658b10a37ab496008c51 100644 (file)
@@ -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.