diff options
-rw-r--r-- | fs/nfsd/nfs4state.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/fs/nfsd/nfs4state.c b/fs/nfsd/nfs4state.c index 11aa4b6b4fa..c4b10a1e6c3 100644 --- a/fs/nfsd/nfs4state.c +++ b/fs/nfsd/nfs4state.c | |||
@@ -2093,8 +2093,10 @@ nfs4_preprocess_seqid_op(struct svc_fh *current_fh, u32 seqid, stateid_t *statei | |||
2093 | goto check_replay; | 2093 | goto check_replay; |
2094 | } | 2094 | } |
2095 | 2095 | ||
2096 | *stpp = stp; | ||
2097 | *sopp = sop = stp->st_stateowner; | ||
2098 | |||
2096 | if (lock) { | 2099 | if (lock) { |
2097 | struct nfs4_stateowner *sop = stp->st_stateowner; | ||
2098 | clientid_t *lockclid = &lock->v.new.clientid; | 2100 | clientid_t *lockclid = &lock->v.new.clientid; |
2099 | struct nfs4_client *clp = sop->so_client; | 2101 | struct nfs4_client *clp = sop->so_client; |
2100 | int lkflg = 0; | 2102 | int lkflg = 0; |
@@ -2124,9 +2126,6 @@ nfs4_preprocess_seqid_op(struct svc_fh *current_fh, u32 seqid, stateid_t *statei | |||
2124 | return nfserr_bad_stateid; | 2126 | return nfserr_bad_stateid; |
2125 | } | 2127 | } |
2126 | 2128 | ||
2127 | *stpp = stp; | ||
2128 | *sopp = sop = stp->st_stateowner; | ||
2129 | |||
2130 | /* | 2129 | /* |
2131 | * We now validate the seqid and stateid generation numbers. | 2130 | * We now validate the seqid and stateid generation numbers. |
2132 | * For the moment, we ignore the possibility of | 2131 | * For the moment, we ignore the possibility of |