[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v1 10/12] tmem: Unify XEN_SYSCTL_TMEM_OP_[[SAVE_[BEGIN|END]|RESTORE_BEGIN]
>>> On 28.09.16 at 11:42, <konrad.wilk@xxxxxxxxxx> wrote: > case XEN_SYSCTL_TMEM_OP_RESTORE_BEGIN: > if ( client == NULL && (client = client_create(cli_id)) != NULL ) > - return 1; > + rc = 0; > + else > + rc = -EEXIST; > break; I don't think the same error code should be used for both a pre-existing client and creation failure. Jan _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx https://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |