Parcourir la source

[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>
Steven Whitehouse il y a 19 ans
Parent
commit
b346671fa1
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      kernel/printk.c

+ 1 - 0
kernel/printk.c

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