afs: Invalid op ID should abort with RXGEN_OPCODE
authorDavid Howells <dhowells@redhat.com>
Thu, 16 Mar 2017 16:27:47 +0000 (16:27 +0000)
committerDavid Howells <dhowells@redhat.com>
Thu, 16 Mar 2017 16:27:47 +0000 (16:27 +0000)
commit1157f153f37a8586765034470e4f00a4a6c4ce6f
treedba156f463cd8223fe7f2bc7a66d05fb91d80a35
parent146a1192783697810b63a1e41c4d59fc93387340
afs: Invalid op ID should abort with RXGEN_OPCODE

When we are given an invalid operation ID, we should abort that with
RXGEN_OPCODE rather than RX_INVALID_OPERATION.

Also map RXGEN_OPCODE to -ENOTSUPP.

Signed-off-by: David Howells <dhowells@redhat.com>
fs/afs/misc.c
fs/afs/rxrpc.c