浏览代码

[PATCH] fs/dcache.c: update comment of d_validate()

Parameters @hash and @len have been removed since 2.4.3,
now just to delete them.

Signed-off-by: Qinghuang Feng <qhfeng.kernel@gmail.com>
Qinghuang Feng 17 年之前
父节点
当前提交
5cec56deb6
共有 1 个文件被更改,包括 0 次插入2 次删除
  1. 0 2
      fs/dcache.c

+ 0 - 2
fs/dcache.c

@@ -1462,8 +1462,6 @@ out:
  * d_validate - verify dentry provided from insecure source
  * d_validate - verify dentry provided from insecure source
  * @dentry: The dentry alleged to be valid child of @dparent
  * @dentry: The dentry alleged to be valid child of @dparent
  * @dparent: The parent dentry (known to be valid)
  * @dparent: The parent dentry (known to be valid)
- * @hash: Hash of the dentry
- * @len: Length of the name
  *
  *
  * An insecure source has sent us a dentry, here we verify it and dget() it.
  * An insecure source has sent us a dentry, here we verify it and dget() it.
  * This is used by ncpfs in its readdir implementation.
  * This is used by ncpfs in its readdir implementation.