[Devel] [PATCH rh7 v2] vtty: Don't free console mapping until no clients left

Cyrill Gorcunov gorcunov at virtuozzo.com
Tue Jun 14 02:13:00 PDT 2016


On Tue, Jun 14, 2016 at 11:29:10AM +0300, Vladimir Davydov wrote:
> On Sat, Jun 11, 2016 at 12:35:13PM +0300, Cyrill Gorcunov wrote:
> ...
> > @@ -939,6 +938,7 @@ static vtty_map_t *vtty_map_alloc(envid_
> >  	lockdep_assert_held(&tty_mutex);
> >  	if (map) {
> >  		map->veid = veid;
> > +		init_completion(&map->work);
> 
> Stale hunk?

Ouch, yes. Missed to refresh.


More information about the Devel mailing list