kbdfs: wakeup and flush when /dev/kbd gets closed
parent
ac5c58e7a4
commit
0fda678227
|
@ -1156,7 +1156,8 @@ fsdestroyfid(Fid *f)
|
|||
}
|
||||
break;
|
||||
case Qkbd:
|
||||
kbdopen--;
|
||||
if(--kbdopen == 0)
|
||||
sendul(ctlchan, Kbdflush);
|
||||
break;
|
||||
case Qcons:
|
||||
consopen--;
|
||||
|
|
Loading…
Reference in New Issue