diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2008-12-11 17:56:22 -0500 |
---|---|---|
committer | J. Bruce Fields <bfields@citi.umich.edu> | 2009-01-06 11:53:55 -0500 |
commit | 8529bc51d30b8f001734b29b21a51b579c260f5b (patch) | |
tree | af1fe6d5cb2d67259d1c977731f523f2337a59eb /include/linux | |
parent | e6765b83977f07983c7a10e6bbb19d6c7bbfc3a4 (diff) |
NSM: Move nsm_addr() to fs/lockd/mon.c
Clean up: nsm_addr_in() is no longer used, and nsm_addr() is used only in
fs/lockd/mon.c, so move it there.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/lockd/lockd.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/include/linux/lockd/lockd.h b/include/linux/lockd/lockd.h index 8b57467375cc..6ab0449bc828 100644 --- a/include/linux/lockd/lockd.h +++ b/include/linux/lockd/lockd.h | |||
@@ -112,16 +112,6 @@ static inline struct sockaddr *nlm_srcaddr(const struct nlm_host *host) | |||
112 | return (struct sockaddr *)&host->h_srcaddr; | 112 | return (struct sockaddr *)&host->h_srcaddr; |
113 | } | 113 | } |
114 | 114 | ||
115 | static inline struct sockaddr_in *nsm_addr_in(const struct nsm_handle *handle) | ||
116 | { | ||
117 | return (struct sockaddr_in *)&handle->sm_addr; | ||
118 | } | ||
119 | |||
120 | static inline struct sockaddr *nsm_addr(const struct nsm_handle *handle) | ||
121 | { | ||
122 | return (struct sockaddr *)&handle->sm_addr; | ||
123 | } | ||
124 | |||
125 | /* | 115 | /* |
126 | * Map an fl_owner_t into a unique 32-bit "pid" | 116 | * Map an fl_owner_t into a unique 32-bit "pid" |
127 | */ | 117 | */ |