Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b346671f authored by Steven Whitehouse's avatar Steven Whitehouse
Browse files

[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
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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.