diff options
author | David Teigland <teigland@redhat.com> | 2008-01-15 15:43:24 -0600 |
---|---|---|
committer | David Teigland <teigland@redhat.com> | 2008-01-30 11:04:42 -0600 |
commit | 861e2369e9e7e003677f99f22c4d1f05d3ed66d3 (patch) | |
tree | c0eab73d677c4cd09acf35825d01c9000cd615f5 /fs/dlm/config.h | |
parent | 550283e30ccec5ddab9749a77b0022ebcaf0f3af (diff) |
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 <pcaulfie@redhat.com>
Signed-off-by: Fabio M. Di Nitto <fabbione@ubuntu.com>
Signed-off-by: David Teigland <teigland@redhat.com>
Diffstat (limited to 'fs/dlm/config.h')
0 files changed, 0 insertions, 0 deletions