aboutsummaryrefslogtreecommitdiffstats
path: root/fs/dlm
diff options
context:
space:
mode:
Diffstat (limited to 'fs/dlm')
-rw-r--r--fs/dlm/lowcomms.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/dlm/lowcomms.c b/fs/dlm/lowcomms.c
index 990626e7da80..0b3109ee4257 100644
--- a/fs/dlm/lowcomms.c
+++ b/fs/dlm/lowcomms.c
@@ -281,7 +281,7 @@ static int nodeid_to_addr(int nodeid, struct sockaddr *retaddr)
281 } else { 281 } else {
282 struct sockaddr_in6 *in6 = (struct sockaddr_in6 *) &addr; 282 struct sockaddr_in6 *in6 = (struct sockaddr_in6 *) &addr;
283 struct sockaddr_in6 *ret6 = (struct sockaddr_in6 *) retaddr; 283 struct sockaddr_in6 *ret6 = (struct sockaddr_in6 *) retaddr;
284 ipv6_addr_copy(&ret6->sin6_addr, &in6->sin6_addr); 284 ret6->sin6_addr = in6->sin6_addr;
285 } 285 }
286 286
287 return 0; 287 return 0;