From: David Teigland Date: Tue, 15 Jan 2008 21:43:24 +0000 (-0600) Subject: dlm: use fixed errno values in messages X-Git-Tag: v2.6.25-rc1~1139^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=861e2369e9e7e003677f99f22c4d1f05d3ed66d3;p=pandora-kernel.git dlm: use fixed errno values in messages 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. Initial patch from Patrick. Signed-off-by: Patrick Caulfield Signed-off-by: Fabio M. Di Nitto Signed-off-by: David Teigland --- Reading git-diff-tree failed