Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 252818
b: refs/heads/master
c: 22b0321
h: refs/heads/master
v: v3
  • Loading branch information
J. Bruce Fields committed Apr 11, 2011
1 parent e182323 commit 1ca76b9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 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: 204f4ce75434c3453907813f8a819d4cf2a5728f
refs/heads/master: 22b03214962ec2a9748abc9987fc2e66dec4626d
7 changes: 6 additions & 1 deletion trunk/fs/nfsd/nfs4proc.c
Original file line number Diff line number Diff line change
Expand Up @@ -1031,6 +1031,11 @@ static __be32 nfs41_check_op_ordering(struct nfsd4_compoundargs *args)
return nfs_ok;
}

static inline struct nfsd4_operation *OPDESC(struct nfsd4_op *op)
{
return &nfsd4_ops[op->opnum];
}

/*
* COMPOUND call.
*/
Expand Down Expand Up @@ -1108,7 +1113,7 @@ nfsd4_proc_compound(struct svc_rqst *rqstp,
goto encode_op;
}

opdesc = &nfsd4_ops[op->opnum];
opdesc = OPDESC(op);

if (!cstate->current_fh.fh_dentry) {
if (!(opdesc->op_flags & ALLOWED_WITHOUT_FH)) {
Expand Down

0 comments on commit 1ca76b9

Please sign in to comment.