summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJ. Bruce Fields <bfields@redhat.com>2014-03-28 16:43:17 -0400
committerJ. Bruce Fields <bfields@redhat.com>2014-03-28 18:02:11 -0400
commitfbb74a34a5b04dee0602e19f3f46496f8bf1d6b4 (patch)
tree461f435b106def2b29dcb3bd3e2feaedcab95785
parent4daeed25aded7dd3febaeaf887f0364b5d05899b (diff)
downloadop-kernel-dev-fbb74a34a5b04dee0602e19f3f46496f8bf1d6b4.zip
op-kernel-dev-fbb74a34a5b04dee0602e19f3f46496f8bf1d6b4.tar.gz
nfsd: typo in nfsd_rename comment
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
-rw-r--r--fs/nfsd/vfs.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/nfsd/vfs.c b/fs/nfsd/vfs.c
index eea5ad1..4d8dcd6 100644
--- a/fs/nfsd/vfs.c
+++ b/fs/nfsd/vfs.c
@@ -1715,10 +1715,10 @@ nfsd_rename(struct svc_rqst *rqstp, struct svc_fh *ffhp, char *fname, int flen,
dput(odentry);
out_nfserr:
err = nfserrno(host_err);
-
- /* we cannot reply on fh_unlock on the two filehandles,
+ /*
+ * We cannot rely on fh_unlock on the two filehandles,
* as that would do the wrong thing if the two directories
- * were the same, so again we do it by hand
+ * were the same, so again we do it by hand.
*/
fill_post_wcc(ffhp);
fill_post_wcc(tfhp);
OpenPOWER on IntegriCloud