Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 372183
b: refs/heads/master
c: 8be2d23
h: refs/heads/master
i:
  372181: ba228f9
  372179: 492536e
  372175: ca67524
v: v3
  • Loading branch information
J. Bruce Fields committed Apr 4, 2013
1 parent c6e5235 commit 2c44492
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 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: a7823c797b4d29727499f0a75ddf3ed07af8ad0a
refs/heads/master: 8be2d2344cc192c20d7b2aa3211a5b74082e47d4
8 changes: 3 additions & 5 deletions trunk/fs/nfsd/nfs4callback.c
Original file line number Diff line number Diff line change
Expand Up @@ -817,8 +817,7 @@ static bool nfsd41_cb_get_slot(struct nfs4_client *clp, struct rpc_task *task)
static void nfsd4_cb_prepare(struct rpc_task *task, void *calldata)
{
struct nfsd4_callback *cb = calldata;
struct nfs4_delegation *dp = container_of(cb, struct nfs4_delegation, dl_recall);
struct nfs4_client *clp = dp->dl_stid.sc_client;
struct nfs4_client *clp = cb->cb_clp;
u32 minorversion = clp->cl_minorversion;

cb->cb_minorversion = minorversion;
Expand All @@ -839,8 +838,7 @@ static void nfsd4_cb_prepare(struct rpc_task *task, void *calldata)
static void nfsd4_cb_done(struct rpc_task *task, void *calldata)
{
struct nfsd4_callback *cb = calldata;
struct nfs4_delegation *dp = container_of(cb, struct nfs4_delegation, dl_recall);
struct nfs4_client *clp = dp->dl_stid.sc_client;
struct nfs4_client *clp = cb->cb_clp;

dprintk("%s: minorversion=%d\n", __func__,
clp->cl_minorversion);
Expand All @@ -863,7 +861,7 @@ static void nfsd4_cb_recall_done(struct rpc_task *task, void *calldata)
{
struct nfsd4_callback *cb = calldata;
struct nfs4_delegation *dp = container_of(cb, struct nfs4_delegation, dl_recall);
struct nfs4_client *clp = dp->dl_stid.sc_client;
struct nfs4_client *clp = cb->cb_clp;
struct rpc_clnt *current_rpc_client = clp->cl_cb_client;

nfsd4_cb_done(task, calldata);
Expand Down

0 comments on commit 2c44492

Please sign in to comment.