From 8faf9659bd0708f44753c6386c500b5fa7c738b3 Mon Sep 17 00:00:00 2001 From: Chuck Lever Date: Mon, 6 Jul 2015 23:09:33 -0400 Subject: [PATCH] xprtrdma: Enable swap-on-NFS/RDMA [ Proposed for upstream v4.4 ] Signed-off-by: Chuck Lever --- net/sunrpc/xprtrdma/transport.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/sunrpc/xprtrdma/transport.c b/net/sunrpc/xprtrdma/transport.c index 64443eb754ad..ffa19dfc18c4 100644 --- a/net/sunrpc/xprtrdma/transport.c +++ b/net/sunrpc/xprtrdma/transport.c @@ -676,7 +676,7 @@ static void xprt_rdma_print_stats(struct rpc_xprt *xprt, struct seq_file *seq) static int xprt_rdma_enable_swap(struct rpc_xprt *xprt) { - return -EINVAL; + return 0; } static void -- 2.50.1