aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/lockd/lockd.h
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2008-12-05 19:03:46 -0500
committerJ. Bruce Fields <bfields@citi.umich.edu>2009-01-06 11:53:54 -0500
commit3420a8c4359a189f7d854ed7075d151257415447 (patch)
treedbcfbcdd9383bc4a9bb832f6b4a8876461495dc8 /include/linux/lockd/lockd.h
parent576df4634e37e46b441fefb91915184edb13bb94 (diff)
NSM: Add nsm_lookup() function
Introduce a new API to fs/lockd/mon.c that allows nlm_host_rebooted() to lookup up nsm_handles via the contents of an nlm_reboot struct. The new function is equivalent to calling nsm_find() with @create set to zero, but it takes a struct nlm_reboot instead of separate arguments. 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/lockd.h')
-rw-r--r--include/linux/lockd/lockd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/lockd/lockd.h b/include/linux/lockd/lockd.h
index 2a3533ea38dd..5e3ad926de89 100644
--- a/include/linux/lockd/lockd.h
+++ b/include/linux/lockd/lockd.h
@@ -251,6 +251,7 @@ struct nsm_handle *nsm_find(const struct sockaddr *sap, const size_t salen,
251 const char *hostname, 251 const char *hostname,
252 const size_t hostname_len, 252 const size_t hostname_len,
253 const int create); 253 const int create);
254struct nsm_handle *nsm_reboot_lookup(const struct nlm_reboot *info);
254void nsm_release(struct nsm_handle *nsm); 255void nsm_release(struct nsm_handle *nsm);
255 256
256/* 257/*