Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 192359
b: refs/heads/master
c: 9045b4b
h: refs/heads/master
i:
  192357: ed82f9b
  192355: 17af6a4
  192351: d85f424
v: v3
  • Loading branch information
J. Bruce Fields committed Apr 2, 2010
1 parent 6df7acb commit 9cab0b3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 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: 3df796dbe97a98a6a25e6b7b88e9d326e261f371
refs/heads/master: 9045b4b9f7f340f43de0cf687b5b52f6feaaa984
9 changes: 1 addition & 8 deletions trunk/fs/nfsd/nfs4callback.c
Original file line number Diff line number Diff line change
Expand Up @@ -509,7 +509,6 @@ static void nfsd4_cb_probe_done(struct rpc_task *task, void *calldata)
warn_no_callback_path(clp, task->tk_status);
else
atomic_set(&clp->cl_cb_conn.cb_set, 1);
put_nfs4_client(clp);
}

static const struct rpc_call_ops nfsd4_cb_probe_ops = {
Expand Down Expand Up @@ -542,10 +541,8 @@ void do_probe_callback(struct nfs4_client *clp)
status = rpc_call_async(cb->cb_client, &msg,
RPC_TASK_SOFT | RPC_TASK_SOFTCONN,
&nfsd4_cb_probe_ops, (void *)clp);
if (status) {
if (status)
warn_no_callback_path(clp, status);
put_nfs4_client(clp);
}
}

/*
Expand All @@ -563,10 +560,6 @@ nfsd4_probe_callback(struct nfs4_client *clp)
warn_no_callback_path(clp, status);
return;
}

/* the task holds a reference to the nfs4_client struct */
atomic_inc(&clp->cl_count);

do_probe_callback(clp);
}

Expand Down

0 comments on commit 9cab0b3

Please sign in to comment.