Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 142153
b: refs/heads/master
c: fd03b09
h: refs/heads/master
i:
  142151: 06ac5a7
v: v3
  • Loading branch information
J. Bruce Fields committed Mar 18, 2009
1 parent abfeed8 commit 0f6c91b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 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: dc9bf700ed2fc3eab50f31000b13fda781e7c9f1
refs/heads/master: fd03b09906c32aea7b47f1275c9cd6034141159d
7 changes: 2 additions & 5 deletions trunk/fs/nfsd/nfs4state.c
Original file line number Diff line number Diff line change
Expand Up @@ -2056,7 +2056,6 @@ nfs4_preprocess_stateid_op(struct svc_fh *current_fh, stateid_t *stateid, int fl
{
struct nfs4_stateid *stp = NULL;
struct nfs4_delegation *dp = NULL;
stateid_t *stidp;
struct inode *ino = current_fh->fh_dentry->d_inode;
__be32 status;

Expand All @@ -2083,8 +2082,7 @@ nfs4_preprocess_stateid_op(struct svc_fh *current_fh, stateid_t *stateid, int fl
dprintk("NFSD: delegation stateid not found\n");
goto out;
}
stidp = &dp->dl_stateid;
status = check_stateid_generation(stateid, stidp);
status = check_stateid_generation(stateid, &dp->dl_stateid);
if (status)
goto out;
status = nfs4_check_delegmode(dp, flags);
Expand All @@ -2105,8 +2103,7 @@ nfs4_preprocess_stateid_op(struct svc_fh *current_fh, stateid_t *stateid, int fl
goto out;
if (!stp->st_stateowner->so_confirmed)
goto out;
stidp = &stp->st_stateid;
status = check_stateid_generation(stateid, stidp);
status = check_stateid_generation(stateid, &stp->st_stateid);
if (status)
goto out;
status = nfs4_check_openmode(stp, flags);
Expand Down

0 comments on commit 0f6c91b

Please sign in to comment.