diff mbox

[RFC,linux-next] rds: rds_message_zcopy_from_user() can be static

Message ID 20180308105614.GA22202@cairo (mailing list archive)
State Not Applicable
Headers show

Commit Message

Fengguang Wu March 8, 2018, 10:56 a.m. UTC
Fixes: d40a126b16ea ("rds: refactor zcopy code into rds_message_zcopy_from_user")
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---
 message.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/net/rds/message.c b/net/rds/message.c
index c36edbb9..6d87910b 100644
--- a/net/rds/message.c
+++ b/net/rds/message.c
@@ -333,7 +333,7 @@  struct rds_message *rds_message_map_pages(unsigned long *page_addrs, unsigned in
 	return rm;
 }
 
-int rds_message_zcopy_from_user(struct rds_message *rm, struct iov_iter *from)
+static int rds_message_zcopy_from_user(struct rds_message *rm, struct iov_iter *from)
 {
 	unsigned long sg_off;
 	struct scatterlist *sg;