aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/lockd/lockd.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/lockd/lockd.h')
-rw-r--r--include/linux/lockd/lockd.h6
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 *,
247int nsm_monitor(const struct nlm_host *host); 247int nsm_monitor(const struct nlm_host *host);
248void nsm_unmonitor(const struct nlm_host *host); 248void nsm_unmonitor(const struct nlm_host *host);
249 249
250struct 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);
254void 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