diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2008-12-05 19:04:01 -0500 |
---|---|---|
committer | J. Bruce Fields <bfields@citi.umich.edu> | 2009-01-06 11:53:54 -0500 |
commit | 92fd91b998a5216a6d6606704e71d541a180216c (patch) | |
tree | e3c181450d40e3d448a48c560aac858ea0e7aee5 /include/linux/lockd | |
parent | 8c7378fd2a5f22016542931b887a2ae98d146eaf (diff) |
NLM: Remove "create" argument from nsm_find()
Clean up: nsm_find() now has only one caller, and that caller
unconditionally sets the @create argument. Thus the @create
argument is no longer needed.
Since nsm_find() now has a more specific purpose, pick a more
appropriate name for it.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Diffstat (limited to 'include/linux/lockd')
-rw-r--r-- | include/linux/lockd/lockd.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/lockd/lockd.h b/include/linux/lockd/lockd.h index 5e3ad926de89..1ccd49e97a7f 100644 --- a/include/linux/lockd/lockd.h +++ b/include/linux/lockd/lockd.h | |||
@@ -247,10 +247,10 @@ void nlm_host_rebooted(const struct nlm_reboot *); | |||
247 | int nsm_monitor(const struct nlm_host *host); | 247 | int nsm_monitor(const struct nlm_host *host); |
248 | void nsm_unmonitor(const struct nlm_host *host); | 248 | void nsm_unmonitor(const struct nlm_host *host); |
249 | 249 | ||
250 | struct nsm_handle *nsm_find(const struct sockaddr *sap, const size_t salen, | 250 | struct nsm_handle *nsm_get_handle(const struct sockaddr *sap, |
251 | const size_t salen, | ||
251 | const char *hostname, | 252 | const char *hostname, |
252 | const size_t hostname_len, | 253 | const size_t hostname_len); |
253 | const int create); | ||
254 | struct nsm_handle *nsm_reboot_lookup(const struct nlm_reboot *info); | 254 | struct nsm_handle *nsm_reboot_lookup(const struct nlm_reboot *info); |
255 | void nsm_release(struct nsm_handle *nsm); | 255 | void nsm_release(struct nsm_handle *nsm); |
256 | 256 | ||