aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfsd
diff options
context:
space:
mode:
Diffstat (limited to 'fs/nfsd')
-rw-r--r--fs/nfsd/nfs4xdr.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/fs/nfsd/nfs4xdr.c b/fs/nfsd/nfs4xdr.c
index 1b81f1656bc2..48a0cc17d5c2 100644
--- a/fs/nfsd/nfs4xdr.c
+++ b/fs/nfsd/nfs4xdr.c
@@ -679,7 +679,9 @@ nfsd4_decode_open(struct nfsd4_compoundargs *argp, struct nfsd4_open *open)
679 break; 679 break;
680 case NFS4_OPEN_CLAIM_DELEGATE_CUR: 680 case NFS4_OPEN_CLAIM_DELEGATE_CUR:
681 READ_BUF(sizeof(stateid_t) + 4); 681 READ_BUF(sizeof(stateid_t) + 4);
682 COPYMEM(&open->op_delegate_stateid, sizeof(stateid_t)); 682 READ32(open->op_delegate_stateid.si_generation);
683 COPYMEM(&open->op_delegate_stateid.si_opaque,
684 sizeof(stateid_opaque_t));
683 READ32(open->op_fname.len); 685 READ32(open->op_fname.len);
684 READ_BUF(open->op_fname.len); 686 READ_BUF(open->op_fname.len);
685 SAVEMEM(open->op_fname.data, open->op_fname.len); 687 SAVEMEM(open->op_fname.data, open->op_fname.len);