]> git.baikalelectronics.ru Git - kernel.git/commit
xprtrdma: Re-organize the switch() in rpcrdma_conn_upcall
authorChuck Lever <chuck.lever@oracle.com>
Mon, 1 Oct 2018 18:26:03 +0000 (14:26 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Wed, 3 Oct 2018 12:39:39 +0000 (08:39 -0400)
commite71e40bf36f5e81dacdc1a29e609e46a2fcd0ec2
treecbc25f23bc4cceb96a1ce448b599a4244f75be35
parent49bc32d67724ab3ecd9b57b9a22bc1a85d4e2202
xprtrdma: Re-organize the switch() in rpcrdma_conn_upcall

Clean up: Eliminate the FALLTHROUGH into the default arm to make the
switch easier to understand.

Also, as long as I'm here, do not display the memory address of the
target rpcrdma_ep. A hashed memory address is of marginal use here.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
net/sunrpc/xprtrdma/verbs.c