diff options
Diffstat (limited to 'include/linux/lockd/lockd.h')
-rw-r--r-- | include/linux/lockd/lockd.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/lockd/lockd.h b/include/linux/lockd/lockd.h index 38344bfb814a..8d715363c6ac 100644 --- a/include/linux/lockd/lockd.h +++ b/include/linux/lockd/lockd.h | |||
@@ -247,6 +247,12 @@ extern void nlm_host_rebooted(const struct sockaddr_in *, const char *, | |||
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, | ||
251 | const char *hostname, | ||
252 | const size_t hostname_len, | ||
253 | const int create); | ||
254 | void nsm_release(struct nsm_handle *nsm); | ||
255 | |||
250 | /* | 256 | /* |
251 | * This is used in garbage collection and resource reclaim | 257 | * This is used in garbage collection and resource reclaim |
252 | * A return value != 0 means destroy the lock/block/share | 258 | * A return value != 0 means destroy the lock/block/share |