nfsd4: fix misplaced comment
authorJ. Bruce Fields <bfields@citi.umich.edu>
Mon, 2 Feb 2009 22:04:03 +0000 (17:04 -0500)
committerJ. Bruce Fields <bfields@citi.umich.edu>
Wed, 18 Mar 2009 21:30:49 +0000 (17:30 -0400)
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
fs/nfsd/nfs4proc.c

index 85b9a08..3265062 100644 (file)
@@ -120,9 +120,9 @@ do_open_lookup(struct svc_rqst *rqstp, struct svc_fh *current_fh, struct nfsd4_o
                goto out;
 
        set_change_info(&open->op_cinfo, current_fh);
+       fh_dup2(current_fh, &resfh);
 
        /* set reply cache */
-       fh_dup2(current_fh, &resfh);
        open->op_stateowner->so_replay.rp_openfh_len = resfh.fh_handle.fh_size;
        memcpy(open->op_stateowner->so_replay.rp_openfh,
                        &resfh.fh_handle.fh_base, resfh.fh_handle.fh_size);