]> 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)
commit91b0e7bb9b099d13025a880ce33fd053c6102523
treedba156f463cd8223fe7f2bc7a66d05fb91d80a35
parent079f16d585181c44c84870be424f1372e736bb1b
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