]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
rxrpc: Use negative error codes in rxrpc_call struct
authorDavid Howells <dhowells@redhat.com>
Thu, 6 Apr 2017 09:11:56 +0000 (10:11 +0100)
committerDavid Howells <dhowells@redhat.com>
Thu, 6 Apr 2017 09:11:56 +0000 (10:11 +0100)
commit3a92789af0d625caff1e0bf5701aec8edf0d057d
tree8ad074e2048b742c7c4e8aebfbb3aeadc552a525
parentfaeeb317a5615076dff1ff44b51e862e6064dbd0
rxrpc: Use negative error codes in rxrpc_call struct

Use negative error codes in struct rxrpc_call::error because that's what
the kernel normally deals with and to make the code consistent.  We only
turn them positive when transcribing into a cmsg for userspace recvmsg.

Signed-off-by: David Howells <dhowells@redhat.com>
fs/afs/rxrpc.c
net/rxrpc/call_accept.c
net/rxrpc/call_event.c
net/rxrpc/call_object.c
net/rxrpc/conn_event.c
net/rxrpc/input.c
net/rxrpc/peer_event.c
net/rxrpc/recvmsg.c
net/rxrpc/rxkad.c
net/rxrpc/sendmsg.c