nfsd: typo in nfsd_rename comment
authorJ. Bruce Fields <bfields@redhat.com>
Fri, 28 Mar 2014 20:43:17 +0000 (16:43 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Fri, 28 Mar 2014 22:02:11 +0000 (18:02 -0400)
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/vfs.c

index eea5ad1..4d8dcd6 100644 (file)
@@ -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);