[Qemu-devel] Re: [V4 PATCH 3/8] Add client side interfaces for chroot environment

2011-02-08 Thread M. Mohan Kumar
On Wednesday 02 February 2011 3:24:16 pm Stefan Hajnoczi wrote: > On Tue, Feb 1, 2011 at 5:26 AM, M. Mohan Kumar wrote: > > +/* Receive file descriptor and error status from chroot process */ > > +static int v9fs_receivefd(int sockfd, int *error) > > The return value and int *error overlap in fun

[Qemu-devel] Re: [V4 PATCH 3/8] Add client side interfaces for chroot environment

2011-02-02 Thread Stefan Hajnoczi
On Tue, Feb 1, 2011 at 5:26 AM, M. Mohan Kumar wrote: > +/* Receive file descriptor and error status from chroot process */ > +static int v9fs_receivefd(int sockfd, int *error) The return value and int *error overlap in functionality. Would it be possible to have only one mechanism for returning