qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 1/6] hw/9pfs: Add reference counting for fid


From: Aneesh Kumar K.V
Subject: Re: [Qemu-devel] [PATCH 1/6] hw/9pfs: Add reference counting for fid
Date: Fri, 10 Jun 2011 11:57:53 +0530
User-agent: Notmuch/0.5-215-g5143e5e (http://notmuchmail.org) Emacs/23.2.1 (i686-pc-linux-gnu)

On Thu, 09 Jun 2011 16:10:39 -0700, Venkateswararao Jujjuri <address@hidden> 
wrote:
> On 06/06/2011 10:16 AM, Aneesh Kumar K.V wrote:
> > Signed-off-by: Aneesh Kumar K.V<address@hidden>
> 
> Just one minor issue below; otherwise
> 
> Reviewed-by: Venkateswararao Jujjuri "<address@hidden>
> 
> > ---
....

> >   hw/9pfs/virtio-9p.c |  205 
> > +++++++++++++++++++++++++++++++++++----------------
> >
> >       pdu_unmarshal(pdu, offset, "dd",&fid,&datasync);
> > -    fidp = lookup_fid(s, fid);
> > +    fidp = get_fid(s, fid);
> >       if (fidp == NULL) {
> >           err = -ENOENT;
> >           goto out;
> > @@ -1444,6 +1465,7 @@ static void v9fs_fsync(void *opaque)
> >           err = offset;
> >       }
> >   out:
> > +    put_fid(fidp);
> It should be
> 
> put_fid(fidp);
> 
> out_nofid:
> 

ok


> >       complete_pdu(s, pdu, err);
> >   }


-aneesh



reply via email to

[Prev in Thread] Current Thread [Next in Thread]