summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorJ. Bruce Fields <bfields@citi.umich.edu>2009-02-02 17:04:03 -0500
committerJ. Bruce Fields <bfields@citi.umich.edu>2009-03-18 17:30:49 -0400
commit13024b7b4097d33fe6bba34b1c83602e88753270 (patch)
tree695a3ac01b109b26fcf189ec88c38e07671629b7 /fs
parent99f88726381f676bba6e7dcf74b7412857d7946a (diff)
downloadlinux-13024b7b4097d33fe6bba34b1c83602e88753270.tar.gz
linux-13024b7b4097d33fe6bba34b1c83602e88753270.tar.bz2
linux-13024b7b4097d33fe6bba34b1c83602e88753270.zip
nfsd4: fix misplaced comment
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Diffstat (limited to 'fs')
-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);