diff options
author | Steven Whitehouse <swhiteho@redhat.com> | 2006-01-16 06:31:24 -0500 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2006-01-16 10:50:24 -0500 |
commit | b346671fa196abaf82ed3e1842f981209f7887af (patch) | |
tree | 77c43ec9228be3b01276f66a0576141b9980b924 /kernel | |
parent | 4a8e4a270b89030bdeb09d2f8cef7cfe9a50e54d (diff) |
[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 <swhiteho@redhat.com>
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/printk.c | 1 |
1 files changed, 1 insertions, 0 deletions
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) | |||
999 | tty->driver->write(tty, msg, strlen(msg)); | 999 | tty->driver->write(tty, msg, strlen(msg)); |
1000 | return; | 1000 | return; |
1001 | } | 1001 | } |
1002 | EXPORT_SYMBOL_GPL(tty_write_message); | ||
1002 | 1003 | ||
1003 | /* | 1004 | /* |
1004 | * printk rate limiting, lifted from the networking subsystem. | 1005 | * printk rate limiting, lifted from the networking subsystem. |