All of lore.kernel.org
 help / color / mirror / Atom feed
* [Cluster-devel] [PATCH] dlm: fix cross-platform error values
@ 2008-01-14 13:14 Patrick Caulfeld
  2008-01-15  5:02 ` Fabio M. Di Nitto
  2008-01-15  6:15 ` Fabio M. Di Nitto
  0 siblings, 2 replies; 4+ messages in thread
From: Patrick Caulfeld @ 2008-01-14 13:14 UTC (permalink / raw)
  To: cluster-devel.redhat.com

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@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>

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-01-15  8:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-14 13:14 [Cluster-devel] [PATCH] dlm: fix cross-platform error values Patrick Caulfeld
2008-01-15  5:02 ` Fabio M. Di Nitto
2008-01-15  6:15 ` Fabio M. Di Nitto
2008-01-15  8:48   ` Steven Whitehouse

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.