qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH -V3 5/8] hw/9pfs: Add open flag to fid


From: Aneesh Kumar K. V
Subject: Re: [Qemu-devel] [PATCH -V3 5/8] hw/9pfs: Add open flag to fid
Date: Mon, 14 Mar 2011 00:31:24 +0530
User-agent: Notmuch/0.5-66-g70c5e2c (http://notmuchmail.org) Emacs/23.1.1 (i686-pc-linux-gnu)

On Sun, 13 Mar 2011 16:38:39 +0000, Stefan Hajnoczi <address@hidden> wrote:
> On Sat, Mar 5, 2011 at 5:52 PM, Aneesh Kumar K.V
> <address@hidden> wrote:
> > +static int get_dotl_openflags(int oflags)
> > +{
> > +    int flags;
> > +    /*
> > +     * Since we can share the fd between multiple fids,
> > +     * open the file in read write mode
> > +     */
> 
> I didn't know that fds are shared between fids.  Also this code does
> not always open O_RDWR.  This comment is incorrect (perhaps a later
> patch changes assumptions, I haven't looked yet, but introducing
> temporary inconsistencies makes it difficult to review and potentially
> confusing for git-bisect users).
> 

What i wanted to say there was, we can possibly look at sharing fd
between multiple fids. Will update the comment.

-aneesh



reply via email to

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