Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 142151
b: refs/heads/master
c: 0c2a498
h: refs/heads/master
i:
  142149: 08ad596
  142147: f196756
  142143: d887655
v: v3
  • Loading branch information
J. Bruce Fields committed Mar 18, 2009
1 parent b0de5ab commit 06ac5a7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 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: a4455be0850009f5da9a3b82523079922cd4b26e
refs/heads/master: 0c2a498fa6d33d8ca9c8a0c29039c41e1734cb9e
9 changes: 6 additions & 3 deletions trunk/fs/nfsd/nfs4state.c
Original file line number Diff line number Diff line change
Expand Up @@ -2084,6 +2084,9 @@ nfs4_preprocess_stateid_op(struct svc_fh *current_fh, stateid_t *stateid, int fl
goto out;
}
stidp = &dp->dl_stateid;
status = check_stateid_generation(stateid, stidp);
if (status)
goto out;
} else { /* open or lock stateid */
stp = find_stateid(stateid, flags);
if (!stp) {
Expand All @@ -2095,10 +2098,10 @@ nfs4_preprocess_stateid_op(struct svc_fh *current_fh, stateid_t *stateid, int fl
if (!stp->st_stateowner->so_confirmed)
goto out;
stidp = &stp->st_stateid;
status = check_stateid_generation(stateid, stidp);
if (status)
goto out;
}
status = check_stateid_generation(stateid, stidp);
if (status)
goto out;
if (stp) {
status = nfs4_check_openmode(stp, flags);
if (status)
Expand Down

0 comments on commit 06ac5a7

Please sign in to comment.