Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 164644
b: refs/heads/master
c: 199ff35
h: refs/heads/master
v: v3
  • Loading branch information
Ricardo Labiaga authored and J. Bruce Fields committed Sep 16, 2009
1 parent aaf2ec8 commit 4ebdb7c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 132f97715c098393fb8de3c26b07b9fdbd2334f1
refs/heads/master: 199ff35e1c8724871e157c2e48556c2794946e82
2 changes: 2 additions & 0 deletions trunk/fs/nfsd/nfs4state.c
Original file line number Diff line number Diff line change
Expand Up @@ -775,6 +775,8 @@ static struct nfs4_client *create_client(struct xdr_netobj name, char *recdir)
INIT_LIST_HEAD(&clp->cl_delegations);
INIT_LIST_HEAD(&clp->cl_sessions);
INIT_LIST_HEAD(&clp->cl_lru);
clear_bit(0, &clp->cl_cb_slot_busy);
rpc_init_wait_queue(&clp->cl_cb_waitq, "Backchannel slot table");
return clp;
}

Expand Down
4 changes: 4 additions & 0 deletions trunk/include/linux/nfsd/state.h
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,11 @@ struct nfs4_client {
struct nfs4_sessionid cl_sessionid;

/* for nfs41 callbacks */
/* We currently support a single back channel with a single slot */
unsigned long cl_cb_slot_busy;
struct svc_xprt *cl_cb_xprt; /* 4.1 callback transport */
struct rpc_wait_queue cl_cb_waitq; /* backchannel callers may */
/* wait here for slots */
};

/* struct nfs4_client_reset
Expand Down

0 comments on commit 4ebdb7c

Please sign in to comment.