diff options
Diffstat (limited to 'include/linux/lockd/lockd.h')
-rw-r--r-- | include/linux/lockd/lockd.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/include/linux/lockd/lockd.h b/include/linux/lockd/lockd.h index ff82a32871b5..c15373894a42 100644 --- a/include/linux/lockd/lockd.h +++ b/include/linux/lockd/lockd.h | |||
@@ -68,6 +68,7 @@ struct nlm_host { | |||
68 | struct nsm_handle *h_nsmhandle; /* NSM status handle */ | 68 | struct nsm_handle *h_nsmhandle; /* NSM status handle */ |
69 | char *h_addrbuf; /* address eyecatcher */ | 69 | char *h_addrbuf; /* address eyecatcher */ |
70 | struct net *net; /* host net */ | 70 | struct net *net; /* host net */ |
71 | char nodename[UNX_MAXNODENAME + 1]; | ||
71 | }; | 72 | }; |
72 | 73 | ||
73 | /* | 74 | /* |
@@ -235,7 +236,8 @@ void nlm_rebind_host(struct nlm_host *); | |||
235 | struct nlm_host * nlm_get_host(struct nlm_host *); | 236 | struct nlm_host * nlm_get_host(struct nlm_host *); |
236 | void nlm_shutdown_hosts(void); | 237 | void nlm_shutdown_hosts(void); |
237 | void nlm_shutdown_hosts_net(struct net *net); | 238 | void nlm_shutdown_hosts_net(struct net *net); |
238 | void nlm_host_rebooted(const struct nlm_reboot *); | 239 | void nlm_host_rebooted(const struct net *net, |
240 | const struct nlm_reboot *); | ||
239 | 241 | ||
240 | /* | 242 | /* |
241 | * Host monitoring | 243 | * Host monitoring |
@@ -243,11 +245,13 @@ void nlm_host_rebooted(const struct nlm_reboot *); | |||
243 | int nsm_monitor(const struct nlm_host *host); | 245 | int nsm_monitor(const struct nlm_host *host); |
244 | void nsm_unmonitor(const struct nlm_host *host); | 246 | void nsm_unmonitor(const struct nlm_host *host); |
245 | 247 | ||
246 | struct nsm_handle *nsm_get_handle(const struct sockaddr *sap, | 248 | struct nsm_handle *nsm_get_handle(const struct net *net, |
249 | const struct sockaddr *sap, | ||
247 | const size_t salen, | 250 | const size_t salen, |
248 | const char *hostname, | 251 | const char *hostname, |
249 | const size_t hostname_len); | 252 | const size_t hostname_len); |
250 | struct nsm_handle *nsm_reboot_lookup(const struct nlm_reboot *info); | 253 | struct nsm_handle *nsm_reboot_lookup(const struct net *net, |
254 | const struct nlm_reboot *info); | ||
251 | void nsm_release(struct nsm_handle *nsm); | 255 | void nsm_release(struct nsm_handle *nsm); |
252 | 256 | ||
253 | /* | 257 | /* |