linux-stable/net/sunrpc/xprtrdma
Jeff Layton d67fa4d85a sunrpc: turn swapper_enable/disable functions into rpc_xprt_ops
RDMA xprts don't have a sock_xprt, but an rdma_xprt, so the
xs_swapper_enable/disable functions will likely oops when fed an RDMA
xprt. Turn these functions into rpc_xprt_ops so that that doesn't
occur. For now the RDMA versions are no-ops that just return -EINVAL
on an attempt to swapon.

Cc: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Jeff Layton <jeff.layton@primarydata.com>
Reviewed-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
2015-06-10 18:26:26 -04:00
..
fmr_ops.c NFS client updates for Linux 4.1 2015-04-26 17:33:59 -07:00
frwr_ops.c NFS client updates for Linux 4.1 2015-04-26 17:33:59 -07:00
Makefile xprtrdma: Add vector of ops for each memory registration strategy 2015-03-31 09:52:52 -04:00
physical_ops.c xprtrdma: Make rpcrdma_{un}map_one() into inline functions 2015-03-31 09:52:53 -04:00
rpc_rdma.c xprtrdma: Add a "deregister_external" op for each memreg mode 2015-03-31 09:52:52 -04:00
svc_rdma.c net: Convert uses of typedef ctl_table to struct ctl_table 2013-06-13 02:36:09 -07:00
svc_rdma_marshal.c svcrdma: Clean up read chunk counting 2015-01-15 15:01:44 -05:00
svc_rdma_recvfrom.c svcrdma: Handle additional inline content 2015-01-15 15:01:49 -05:00
svc_rdma_sendto.c svcrdma: Find rmsgp more reliably 2015-01-15 15:01:45 -05:00
svc_rdma_transport.c svcrdma: Plant reader function in struct svcxprt_rdma 2015-01-15 15:01:46 -05:00
transport.c sunrpc: turn swapper_enable/disable functions into rpc_xprt_ops 2015-06-10 18:26:26 -04:00
verbs.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2015-04-14 09:50:27 -07:00
xprt_rdma.h xprtrdma: Make rpcrdma_{un}map_one() into inline functions 2015-03-31 09:52:53 -04:00