Re: [PATCH] target: xen-scsiback: Return proper -Exx instead of -1.

2015-11-25 Thread Juergen Gross
On 25/11/15 20:24, Konrad Rzeszutek Wilk wrote: > We could return EINVAL but EBUSY (or EALREADY?)is more appropiate. > > CC: jgr...@suse.com > Signed-off-by: Konrad Rzeszutek Wilk While it doesn't really matter it's cleaner. Reviewed-by: Juergen Gross > --- > drivers/xen/xen-scsiback.c | 2

[PATCH] target: xen-scsiback: Return proper -Exx instead of -1.

2015-11-25 Thread Konrad Rzeszutek Wilk
We could return EINVAL but EBUSY (or EALREADY?)is more appropiate. CC: jgr...@suse.com Signed-off-by: Konrad Rzeszutek Wilk --- drivers/xen/xen-scsiback.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/xen/xen-scsiback.c b/drivers/xen/xen-scsiback.c index

[PATCH] target: xen-scsiback: Return proper -Exx instead of -1.

2015-11-25 Thread Konrad Rzeszutek Wilk
We could return EINVAL but EBUSY (or EALREADY?)is more appropiate. CC: jgr...@suse.com Signed-off-by: Konrad Rzeszutek Wilk --- drivers/xen/xen-scsiback.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/xen/xen-scsiback.c

Re: [PATCH] target: xen-scsiback: Return proper -Exx instead of -1.

2015-11-25 Thread Juergen Gross
On 25/11/15 20:24, Konrad Rzeszutek Wilk wrote: > We could return EINVAL but EBUSY (or EALREADY?)is more appropiate. > > CC: jgr...@suse.com > Signed-off-by: Konrad Rzeszutek Wilk While it doesn't really matter it's cleaner. Reviewed-by: Juergen Gross