Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 267126
b: refs/heads/master
c: 9afb978
h: refs/heads/master
v: v3
  • Loading branch information
J. Bruce Fields committed Aug 27, 2011
1 parent 579c3bf commit a5bcaf4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 11 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: a9004abc34239705840eaf6fe3d6cc9cb7656cba
refs/heads/master: 9afb978400e65ea6a3200b3e163606ce86e13c25
15 changes: 5 additions & 10 deletions trunk/fs/nfsd/nfs4state.c
Original file line number Diff line number Diff line change
Expand Up @@ -3453,16 +3453,11 @@ nfs4_preprocess_seqid_op(struct nfsd4_compound_state *cstate, u32 seqid,
if (!nfsd4_has_session(cstate) &&
!same_clid(&clp->cl_clientid, lockclid))
return nfserr_bad_stateid;
/* stp is the open stateid */
status = nfs4_check_openmode(stp, lkflg);
if (status)
return status;
} else {
/* stp is the lock stateid */
status = nfs4_check_openmode(stp->st_openstp, lkflg);
if (status)
return status;
}
}
/* stp is the open stateid */
status = nfs4_check_openmode(stp, lkflg);
if (status)
return status;
}

if (nfs4_check_fh(current_fh, stp)) {
Expand Down

0 comments on commit a5bcaf4

Please sign in to comment.