Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 308673
b: refs/heads/master
c: 43ac544
h: refs/heads/master
i:
  308671: 587b31a
v: v3
  • Loading branch information
Trond Myklebust authored and Trond Myklebust committed May 27, 2012
1 parent 0330438 commit 3c4f3e1
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 32b0131069c5bebf52368a9fe170f8d58b78fa8d
refs/heads/master: 43ac544cb36adf38338c01968f8e3a5f81b7d629
2 changes: 2 additions & 0 deletions trunk/fs/nfs/nfs4state.c
Original file line number Diff line number Diff line change
Expand Up @@ -1782,10 +1782,12 @@ static int nfs4_bind_conn_to_session(struct nfs_client *clp)
struct rpc_cred *cred;
int ret;

nfs4_begin_drain_session(clp);
cred = nfs4_get_exchange_id_cred(clp);
ret = nfs4_proc_bind_conn_to_session(clp, cred);
if (cred)
put_rpccred(cred);
clear_bit(NFS4CLNT_BIND_CONN_TO_SESSION, &clp->cl_state);
return ret;
}
#else /* CONFIG_NFS_V4_1 */
Expand Down

0 comments on commit 3c4f3e1

Please sign in to comment.