aboutsummaryrefslogtreecommitdiff
path: root/fs/dlm/lock.h
diff options
context:
space:
mode:
authorDavid Teigland <teigland@redhat.com>2008-01-15 15:43:24 -0600
committerDavid Teigland <teigland@redhat.com>2008-01-30 11:04:42 -0600
commit861e2369e9e7e003677f99f22c4d1f05d3ed66d3 (patch)
treec0eab73d677c4cd09acf35825d01c9000cd615f5 /fs/dlm/lock.h
parent550283e30ccec5ddab9749a77b0022ebcaf0f3af (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/lock.h')
0 files changed, 0 insertions, 0 deletions