Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 372164
b: refs/heads/master
c: b600de7
h: refs/heads/master
v: v3
  • Loading branch information
J. Bruce Fields committed Apr 3, 2013
1 parent 754046b commit 3a17305
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 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: 0733c7ba1ef0d7e29a11c52f4d1356fc394de334
refs/heads/master: b600de7ab9288eaf6126561203e0ae340828ab44
9 changes: 3 additions & 6 deletions trunk/fs/nfsd/nfs4proc.c
Original file line number Diff line number Diff line change
Expand Up @@ -1282,12 +1282,9 @@ nfsd4_proc_compound(struct svc_rqst *rqstp,
if (op->status)
goto encode_op;

if (opdesc->op_func) {
if (opdesc->op_get_currentstateid)
opdesc->op_get_currentstateid(cstate, &op->u);
op->status = opdesc->op_func(rqstp, cstate, &op->u);
} else
BUG_ON(op->status == nfs_ok);
if (opdesc->op_get_currentstateid)
opdesc->op_get_currentstateid(cstate, &op->u);
op->status = opdesc->op_func(rqstp, cstate, &op->u);

if (!op->status) {
if (opdesc->op_set_currentstateid)
Expand Down

0 comments on commit 3a17305

Please sign in to comment.