]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc260fb6fc95e9f32f866c53087563ed561c8332c
treedba156f463cd8223fe7f2bc7a66d05fb91d80a35
parent58c4a6c8ae0e23d17152d05b9c5cc5109270cd26
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