vcs: invoke the vt update callback when /dev/vcs* is written to
authorNicolas Pitre <nico@fluxnic.net>
Fri, 1 Oct 2010 04:10:44 +0000 (00:10 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 22 Oct 2010 17:20:06 +0000 (10:20 -0700)
commit432c9ed22aff641039ccd400cdabf983fabc285e
treed4f458dfad838e93442a5ebbb3486113c8f77631
parent47725ac76f51328d467b1430dfd027aba8706a11
vcs: invoke the vt update callback when /dev/vcs* is written to

A notifier chain is called whenever the vt code modifies a terminal
content, except for one case which is when the modification comes
through writes to /dev/vcs* devices.  Let's add the missing notifier
invocation at the end of vcs_write() for that case too.

Signed-off-by: Nicolas Pitre <nicolas.pitre@canonical.com>
Cc: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/char/vc_screen.c
drivers/char/vt.c
include/linux/selection.h