[sheepdog] [PATCH v3] sheep: implement a correct mutex of a base directory

Hitoshi Mitake mitake.hitoshi at gmail.com
Mon Apr 29 05:11:50 CEST 2013


At Mon, 29 Apr 2013 09:10:20 +0900,
MORITA Kazutaka wrote:
> 
> >  
> > -static int lock_base_dir(const char *d)
> > +int lock_base_dir(const char *d)
> >  {
> >  #define LOCK_PATH "/lock"
> >  	char *lock_path;
> > @@ -224,7 +224,7 @@ int init_base_path(const char *d)
> >  		return -1;
> >  	}
> >  
> > -	return lock_base_dir(d);
> > +	return 0;
> >  }
> 
> This doesn't create a lock file when sheep runs in the foreground.

Sorry for that. I'll fix the problem in v4.

Thanks,
Hitoshi



More information about the sheepdog mailing list