aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfsd/nfs4proc.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/nfsd/nfs4proc.c')
-rw-r--r--fs/nfsd/nfs4proc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfsd/nfs4proc.c b/fs/nfsd/nfs4proc.c
index 85b9a084177a..326506272258 100644
--- a/fs/nfsd/nfs4proc.c
+++ b/fs/nfsd/nfs4proc.c
@@ -120,9 +120,9 @@ do_open_lookup(struct svc_rqst *rqstp, struct svc_fh *current_fh, struct nfsd4_o
120 goto out; 120 goto out;
121 121
122 set_change_info(&open->op_cinfo, current_fh); 122 set_change_info(&open->op_cinfo, current_fh);
123 fh_dup2(current_fh, &resfh);
123 124
124 /* set reply cache */ 125 /* set reply cache */
125 fh_dup2(current_fh, &resfh);
126 open->op_stateowner->so_replay.rp_openfh_len = resfh.fh_handle.fh_size; 126 open->op_stateowner->so_replay.rp_openfh_len = resfh.fh_handle.fh_size;
127 memcpy(open->op_stateowner->so_replay.rp_openfh, 127 memcpy(open->op_stateowner->so_replay.rp_openfh,
128 &resfh.fh_handle.fh_base, resfh.fh_handle.fh_size); 128 &resfh.fh_handle.fh_base, resfh.fh_handle.fh_size);