Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

svcrdma: return 0 on success from svc_rdma_copy_inline_range

The function comment specifies 0 on success and -EINVAL on invalid
parameters. Make the tail return 0 after a successful copy loop.

Fixes: d7cc73972661 ("svcrdma: support multiple Read chunks per RPC")
Cc: stable@vger.kernel.org
Signed-off-by: Joshua Rogers <linux@joshua.hu>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>

authored by

Joshua Rogers and committed by
Chuck Lever
94972027 a8ee9099

+1 -1
+1 -1
net/sunrpc/xprtrdma/svc_rdma_rw.c
··· 860 860 offset += page_len; 861 861 } 862 862 863 - return -EINVAL; 863 + return 0; 864 864 } 865 865 866 866 /**