]> git.openfabrics.org - ~emulex/infiniband.git/commitdiff
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 eea5ad1889846c5c88a4fa11d27314ee035a9817..4d8dcd62481e1e682f1774eb0b19070eabc3a0a3 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);