diff options
Diffstat (limited to 'fs/lockd/host.c')
-rw-r--r-- | fs/lockd/host.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/lockd/host.c b/fs/lockd/host.c index ed103387964d..dc41e46ef74c 100644 --- a/fs/lockd/host.c +++ b/fs/lockd/host.c | |||
@@ -453,9 +453,10 @@ void nlm_release_host(struct nlm_host *host) | |||
453 | */ | 453 | */ |
454 | void nlm_host_rebooted(const struct nlm_reboot *info) | 454 | void nlm_host_rebooted(const struct nlm_reboot *info) |
455 | { | 455 | { |
456 | __be32 *p = (__be32 *)&info->priv.data; | ||
456 | const struct sockaddr_in sin = { | 457 | const struct sockaddr_in sin = { |
457 | .sin_family = AF_INET, | 458 | .sin_family = AF_INET, |
458 | .sin_addr.s_addr = info->addr, | 459 | .sin_addr.s_addr = *p, |
459 | }; | 460 | }; |
460 | struct hlist_head *chain; | 461 | struct hlist_head *chain; |
461 | struct hlist_node *pos; | 462 | struct hlist_node *pos; |