diff options
| author | Andrew Morton <akpm@osdl.org> | 2004-02-26 06:46:54 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-02-26 06:46:54 -0800 |
| commit | 9154e5fb6a0f3b670b41febe70308af11784ce8d (patch) | |
| tree | d6baac1a515a1ffeb61d9d0e33bde5e7cb51f27d /include/linux | |
| parent | e997763aaaddd4f4b62397c2b8d88ca0514467db (diff) | |
[PATCH] kNFSd: NFSdV4 fixes for replaying open requests.
From: NeilBrown <neilb@cse.unsw.edu.au>
Since the open op changes the current filehandle, we can't correctly replay
compounds containing opens unless we save the filehandle resulting from the
open as well as the encoded reply.
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/nfsd/state.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/nfsd/state.h b/include/linux/nfsd/state.h index b48b36201585..4fdd1d2e8c25 100644 --- a/include/linux/nfsd/state.h +++ b/include/linux/nfsd/state.h @@ -113,6 +113,8 @@ struct nfs4_replay { unsigned int rp_buflen; char *rp_buf; unsigned intrp_allocated; + int rp_openfh_len; + char rp_openfh[NFS4_FHSIZE]; char rp_ibuf[NFSD4_REPLAY_ISIZE]; }; |
