summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJ. Bruce Fields <bfields@citi.umich.edu>2009-02-02 23:04:03 +0100
committerJ. Bruce Fields <bfields@citi.umich.edu>2009-03-18 22:30:49 +0100
commit13024b7b4097d33fe6bba34b1c83602e88753270 (patch)
tree695a3ac01b109b26fcf189ec88c38e07671629b7
parentnfsd: clarify exclusive create bitmask result. (diff)
downloadlinux-13024b7b4097d33fe6bba34b1c83602e88753270.tar.xz
linux-13024b7b4097d33fe6bba34b1c83602e88753270.zip
nfsd4: fix misplaced comment
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
-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
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);