Skip to content

Commit

Permalink
[PATCH] Export tty_write_message() for GFS2 quota code
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Steven Whitehouse committed Jan 16, 2006
1 parent 4a8e4a2 commit b346671
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions kernel/printk.c
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit b346671

Please sign in to comment.