Commit 6a923fc6 authored by Nicolas Pitre's avatar Nicolas Pitre Committed by Greg Kroah-Hartman

vt: invoke notifier on screen size change

commit 0c9b1965faddad7534b6974b5b36c4ad37998f8e upstream.

User space using poll() on /dev/vcs devices are not awaken when a
screen size change occurs. Let's fix that.
Signed-off-by: default avatarNicolas Pitre <>
Cc: stable <>
Signed-off-by: default avatarGreg Kroah-Hartman <>
parent 8781bfdf
......@@ -958,6 +958,7 @@ static int vc_do_resize(struct tty_struct *tty, struct vc_data *vc,
vt_event_post(VT_EVENT_RESIZE, vc->vc_num, vc->vc_num);
return err;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment