android_kernel_xiaomi_sm8350/fs/dlm
David Teigland 861e2369e9 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>
2008-01-30 11:04:42 -06:00
..
ast.c [DLM] fs/dlm/ast.c should #include "ast.h" 2007-05-01 09:11:25 +01:00
ast.h
config.c configfs: Convert subsystem semaphore to mutex 2007-07-10 17:10:56 -07:00
config.h [DLM] add lock timeouts and warnings [2/6] 2007-07-09 08:22:33 +01:00
debug_fs.c [DLM] dump more lock values 2007-07-09 08:24:13 +01:00
dir.c dlm: use dlm prefix on alloc and free functions 2008-01-29 17:17:19 -06:00
dir.h
dlm_internal.h dlm: proper prototypes 2008-01-29 17:16:52 -06:00
Kconfig menuconfig: transform NLS and DLM menus 2007-10-17 08:43:00 -07:00
lock.c dlm: use dlm prefix on alloc and free functions 2008-01-29 17:17:19 -06:00
lock.h [DLM] block dlm_recv in recovery transition 2007-10-10 08:56:38 +01:00
lockspace.c dlm: use dlm prefix on alloc and free functions 2008-01-29 17:17:19 -06:00
lockspace.h
lowcomms.c dlm: close othercons 2008-01-29 17:17:32 -06:00
lowcomms.h
lvb_table.h
main.c dlm: proper prototypes 2008-01-29 17:16:52 -06:00
Makefile [DLM] add lock timeouts and warnings [2/6] 2007-07-09 08:22:33 +01:00
member.c [DLM] block dlm_recv in recovery transition 2007-10-10 08:56:38 +01:00
member.h
memory.c dlm: use dlm prefix on alloc and free functions 2008-01-29 17:17:19 -06:00
memory.h dlm: use dlm prefix on alloc and free functions 2008-01-29 17:17:19 -06:00
midcomms.c dlm: align midcomms message buffer 2008-01-30 11:04:25 -06:00
midcomms.h
netlink.c [DLM] timeout fixes 2007-07-09 08:22:52 +01:00
rcom.c [DLM] block dlm_recv in recovery transition 2007-10-10 08:56:38 +01:00
rcom.h [DLM] block dlm_recv in recovery transition 2007-10-10 08:56:38 +01:00
recover.c dlm: use dlm prefix on alloc and free functions 2008-01-29 17:17:19 -06:00
recover.h
recoverd.c [DLM] block dlm_recv in recovery transition 2007-10-10 08:56:38 +01:00
recoverd.h
requestqueue.c [DLM] block dlm_recv in recovery transition 2007-10-10 08:56:38 +01:00
requestqueue.h [DLM] block dlm_recv in recovery transition 2007-10-10 08:56:38 +01:00
user.c Use helpers to obtain task pid in printks 2007-10-19 11:53:43 -07:00
user.h
util.c dlm: use fixed errno values in messages 2008-01-30 11:04:42 -06:00
util.h