diff options
author | Jeff Layton <jlayton@poochiereds.net> | 2015-06-03 16:14:29 -0400 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@primarydata.com> | 2015-06-10 18:26:26 -0400 |
commit | d67fa4d85a2143b46052b2e9ccc6749a4c97b2de (patch) | |
tree | a594a793ca2c827f383965e25d0a5d2d2a790287 /MAINTAINERS | |
parent | d6e971d8ecafee18ff9cc1ac646eb0817ab8b143 (diff) | |
download | linux-d67fa4d85a2143b46052b2e9ccc6749a4c97b2de.tar.gz linux-d67fa4d85a2143b46052b2e9ccc6749a4c97b2de.tar.bz2 linux-d67fa4d85a2143b46052b2e9ccc6749a4c97b2de.zip |
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>
Diffstat (limited to 'MAINTAINERS')
0 files changed, 0 insertions, 0 deletions