Commit b346671f authored by Steven Whitehouse's avatar Steven Whitehouse

[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: default avatarSteven Whitehouse <swhiteho@redhat.com>
parent 4a8e4a27
...@@ -999,6 +999,7 @@ void tty_write_message(struct tty_struct *tty, char *msg) ...@@ -999,6 +999,7 @@ void tty_write_message(struct tty_struct *tty, char *msg)
tty->driver->write(tty, msg, strlen(msg)); tty->driver->write(tty, msg, strlen(msg));
return; return;
} }
EXPORT_SYMBOL_GPL(tty_write_message);
/* /*
* printk rate limiting, lifted from the networking subsystem. * printk rate limiting, lifted from the networking subsystem.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment