[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:
parent
4a8e4a270b
commit
b346671fa1
|
@ -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.
|
||||||
|
|
Loading…
Reference in New Issue