Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 127473
b: refs/heads/master
c: 8529bc5
h: refs/heads/master
i:
  127471: ddf4635
v: v3
  • Loading branch information
Chuck Lever authored and J. Bruce Fields committed Jan 6, 2009
1 parent b15b298 commit bb4241d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 11 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e6765b83977f07983c7a10e6bbb19d6c7bbfc3a4
refs/heads/master: 8529bc51d30b8f001734b29b21a51b579c260f5b
5 changes: 5 additions & 0 deletions trunk/fs/lockd/mon.c
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,11 @@ static DEFINE_SPINLOCK(nsm_lock);
*/
int nsm_local_state;

static inline struct sockaddr *nsm_addr(const struct nsm_handle *nsm)
{
return (struct sockaddr *)&nsm->sm_addr;
}

static void nsm_display_ipv4_address(const struct sockaddr *sap, char *buf,
const size_t len)
{
Expand Down
10 changes: 0 additions & 10 deletions trunk/include/linux/lockd/lockd.h
Original file line number Diff line number Diff line change
Expand Up @@ -112,16 +112,6 @@ static inline struct sockaddr *nlm_srcaddr(const struct nlm_host *host)
return (struct sockaddr *)&host->h_srcaddr;
}

static inline struct sockaddr_in *nsm_addr_in(const struct nsm_handle *handle)
{
return (struct sockaddr_in *)&handle->sm_addr;
}

static inline struct sockaddr *nsm_addr(const struct nsm_handle *handle)
{
return (struct sockaddr *)&handle->sm_addr;
}

/*
* Map an fl_owner_t into a unique 32-bit "pid"
*/
Expand Down

0 comments on commit bb4241d

Please sign in to comment.