浏览代码

nfsd: typo in nfsd_rename comment

Signed-off-by: J. Bruce Fields <bfields@redhat.com>
J. Bruce Fields 11 年之前
父节点
当前提交
fbb74a34a5
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      fs/nfsd/vfs.c

+ 3 - 3
fs/nfsd/vfs.c

@@ -1715,10 +1715,10 @@ nfsd_rename(struct svc_rqst *rqstp, struct svc_fh *ffhp, char *fname, int flen,
 	dput(odentry);
 	dput(odentry);
  out_nfserr:
  out_nfserr:
 	err = nfserrno(host_err);
 	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
 	 * 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(ffhp);
 	fill_post_wcc(tfhp);
 	fill_post_wcc(tfhp);