[Top][All Lists]
[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: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-devel] [PATCH -V3 5/8] hw/9pfs: Add open flag to fid |
Date: |
Sun, 13 Mar 2011 16:38:39 +0000 |
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).
Stefan
- Re: [Qemu-devel] [PATCH -V3 3/8] hw/9pfs: Use v9fs_do_close instead of close, (continued)
[Qemu-devel] [PATCH -V3 4/8] hw/9pfs: Implement syncfs, Aneesh Kumar K.V, 2011/03/05
[Qemu-devel] [PATCH -V3 5/8] hw/9pfs: Add open flag to fid, Aneesh Kumar K.V, 2011/03/05
- Re: [Qemu-devel] [PATCH -V3 5/8] hw/9pfs: Add open flag to fid,
Stefan Hajnoczi <=
[Qemu-devel] [PATCH -V3 6/8] hw/9pfs: Add directory reclaim support, Aneesh Kumar K.V, 2011/03/05
[Qemu-devel] [PATCH -V3 8/8] hw/9pfs: Skip file system sync if we have specified cache=none option, Aneesh Kumar K.V, 2011/03/05
[Qemu-devel] [PATCH -V3 7/8] hw/9pfs: Add new virtfs option cache=none to skip host page cache, Aneesh Kumar K.V, 2011/03/05