[sheepdog] [PATCH] sheep: save dw->finish_fd to local variable

MORITA Kazutaka morita.kazutaka at lab.ntt.co.jp
Mon Feb 3 11:35:07 CET 2014


At Mon, 03 Feb 2014 18:13:16 +0900,
Hitoshi Mitake wrote:
> 
> At Mon,  3 Feb 2014 17:46:08 +0900,
> MORITA Kazutaka wrote:
> > 
> > We cannot access dw after we call delete_vdis_done() because it may be
> > already freed.
> > 
> > Signed-off-by: MORITA Kazutaka <morita.kazutaka at lab.ntt.co.jp>
> > ---
> >  sheep/vdi.c |    8 ++++----
> >  1 file changed, 4 insertions(+), 4 deletions(-)
> 
> Looks good to me. Thanks a lot for this fix.
> Reviewed-by: Hitoshi Mitake <mitake.hitoshi at lab.ntt.co.jp>

Thanks for your review, applied.

Kazutaka



More information about the sheepdog mailing list