diff options
author | Olaf Kirch <okir@suse.de> | 2006-10-04 05:15:52 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-04 10:55:16 -0400 |
commit | cf712c24d72341effcfd28330b83b49f77cb627b (patch) | |
tree | 88fcb932f3c85d83601e45473bee2c99a22ba9c2 /include/linux/lockd/lockd.h | |
parent | 977faf392fc898407554bbe7338d57b29e3660cf (diff) |
[PATCH] knfsd: consolidate common code for statd->lockd notification
Common code from nlm4svc_proc_sm_notify and nlmsvc_proc_sm_notify is moved
into a new nlm_host_rebooted.
This is in preparation of a patch that will change the reboot notification
handling entirely.
Signed-off-by: Olaf Kirch <okir@suse.de>
Signed-off-by: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux/lockd/lockd.h')
-rw-r--r-- | include/linux/lockd/lockd.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/linux/lockd/lockd.h b/include/linux/lockd/lockd.h index 47b7dbd647a6..5f886695ac90 100644 --- a/include/linux/lockd/lockd.h +++ b/include/linux/lockd/lockd.h | |||
@@ -161,15 +161,16 @@ int nlmclnt_reclaim(struct nlm_host *, struct file_lock *); | |||
161 | /* | 161 | /* |
162 | * Host cache | 162 | * Host cache |
163 | */ | 163 | */ |
164 | struct nlm_host * nlmclnt_lookup_host(struct sockaddr_in *, int, int); | 164 | struct nlm_host * nlmclnt_lookup_host(const struct sockaddr_in *, int, int); |
165 | struct nlm_host * nlmsvc_lookup_host(struct svc_rqst *); | 165 | struct nlm_host * nlmsvc_lookup_host(struct svc_rqst *); |
166 | struct nlm_host * nlm_lookup_host(int server, struct sockaddr_in *, int, int); | 166 | struct nlm_host * nlm_lookup_host(int server, const struct sockaddr_in *, int, int); |
167 | struct rpc_clnt * nlm_bind_host(struct nlm_host *); | 167 | struct rpc_clnt * nlm_bind_host(struct nlm_host *); |
168 | void nlm_rebind_host(struct nlm_host *); | 168 | void nlm_rebind_host(struct nlm_host *); |
169 | struct nlm_host * nlm_get_host(struct nlm_host *); | 169 | struct nlm_host * nlm_get_host(struct nlm_host *); |
170 | void nlm_release_host(struct nlm_host *); | 170 | void nlm_release_host(struct nlm_host *); |
171 | void nlm_shutdown_hosts(void); | 171 | void nlm_shutdown_hosts(void); |
172 | extern struct nlm_host *nlm_find_client(void); | 172 | extern struct nlm_host *nlm_find_client(void); |
173 | extern void nlm_host_rebooted(const struct sockaddr_in *, const struct nlm_reboot *); | ||
173 | 174 | ||
174 | 175 | ||
175 | /* | 176 | /* |