diff options
Diffstat (limited to 'fs/lockd/mon.c')
-rw-r--r-- | fs/lockd/mon.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/fs/lockd/mon.c b/fs/lockd/mon.c index dfa9d80efcba..43be31c4a2de 100644 --- a/fs/lockd/mon.c +++ b/fs/lockd/mon.c | |||
@@ -55,6 +55,11 @@ static DEFINE_SPINLOCK(nsm_lock); | |||
55 | */ | 55 | */ |
56 | int nsm_local_state; | 56 | int nsm_local_state; |
57 | 57 | ||
58 | static inline struct sockaddr *nsm_addr(const struct nsm_handle *nsm) | ||
59 | { | ||
60 | return (struct sockaddr *)&nsm->sm_addr; | ||
61 | } | ||
62 | |||
58 | static void nsm_display_ipv4_address(const struct sockaddr *sap, char *buf, | 63 | static void nsm_display_ipv4_address(const struct sockaddr *sap, char *buf, |
59 | const size_t len) | 64 | const size_t len) |
60 | { | 65 | { |