Tom Zanussi fd30fc3256 [PATCH] relayfs: remove warning printk() in relay_switch_subbuf()
There's currently a diagnostic printk in relay_switch_subbuf() meant as
a warning if you accidentally try to log an event larger than the
sub-buffer size.

The problem is if this happens while logging from somewhere it's not
safe to be doing printks, such as in the scheduler, you can end up with
a deadlock.  This patch removes the warning from relay_switch_subbuf()
and instead prints some diagnostic info when the channel is closed.

Thanks to Mathieu Desnoyers for pointing out the problem and
suggesting a fix.

Signed-off-by: Tom Zanussi <zanussi@us.ibm.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-12-20 17:33:22 -08:00
..
2005-11-07 07:54:06 -08:00
2005-11-07 07:54:06 -08:00
2005-11-07 07:54:06 -08:00
2005-11-08 16:54:53 +01:00
2005-11-07 07:54:06 -08:00
2005-11-08 16:47:45 +01:00
2005-11-07 07:54:06 -08:00
2005-11-07 07:54:06 -08:00
2005-11-08 16:48:36 +01:00
2005-12-19 23:12:09 -05:00
2005-11-07 07:54:06 -08:00
2005-11-09 07:55:59 -08:00
2005-11-07 07:54:06 -08:00
2005-10-30 17:37:27 -08:00
2005-11-07 07:54:06 -08:00
2005-11-07 07:54:06 -08:00
2005-10-28 08:16:47 -07:00
2005-10-29 21:40:39 -07:00
2005-10-30 17:37:32 -08:00
2005-10-30 17:37:10 -08:00
2005-11-07 07:54:06 -08:00
2005-11-09 07:55:59 -08:00
2005-11-07 18:18:11 -08:00
2005-11-07 18:18:11 -08:00
2005-11-07 07:53:39 -08:00