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

Patrick Caulfeld pcaulfie at redhat.com
Mon Jan 14 13:14:00 UTC 2008


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 platform-specific ones at the other end.

Many thanks to Fabio for testing this patch.

Signed-Off-By: Patrick Caulfield <pcaulfie at redhat.com
Signed-off-by: Fabio M. Di Nitto <fabbione at ubuntu.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dlm_errno.patch
Type: text/x-patch
Size: 1788 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/cluster-devel/attachments/20080114/cdfe0b30/attachment.bin>


More information about the Cluster-devel mailing list