[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>
This commit is contained in:
Steven Whitehouse 2006-01-16 11:31:24 +00:00
parent 4a8e4a270b
commit b346671fa1

View 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.