Re: [Cluster-devel] [PATCH] dlm: fix cross-platform error values

2008-01-15 Thread Steven Whitehouse
Hi, On Tue, 2008-01-15 at 07:15 +0100, Fabio M. Di Nitto wrote: Hi guys, On Mon, 14 Jan 2008, Patrick Caulfeld wrote: Some errno values differ across platforms. So if we return things like -EINPROGRESS from one node it can get misinterpreted or rejected on another one. This patch

[Cluster-devel] [PATCH] dlm: fix cross-platform error values

2008-01-14 Thread Patrick Caulfeld
Some errno values differ across platforms. So if we return things like -EINPROGRESS from one node it can get misinterpreted or rejected on another one. This patch fixes up the errno values passed on the wire so that they match the x86 ones (so as not to break the protocol), and re-instates the

Re: [Cluster-devel] [PATCH] dlm: fix cross-platform error values

2008-01-14 Thread Fabio M. Di Nitto
Hi Steven, please put this patch on hold as I found more cases similar to those that need the same addressing. Thanks Fabio On Mon, 14 Jan 2008, Patrick Caulfeld wrote: Some errno values differ across platforms. So if we return things like -EINPROGRESS from one node it can get

Re: [Cluster-devel] [PATCH] dlm: fix cross-platform error values

2008-01-14 Thread Fabio M. Di Nitto
Hi guys, On Mon, 14 Jan 2008, Patrick Caulfeld wrote: Some errno values differ across platforms. So if we return things like -EINPROGRESS from one node it can get misinterpreted or rejected on another one. This patch fixes up the errno values passed on the wire so that they match the x86