2008-10-13 10:33:03

by Qinghuang Feng

[permalink] [raw]
Subject: [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 <[email protected]>
---
diff --git a/fs/dcache.c b/fs/dcache.c
index e7a1a99..af65426 100644
--- a/fs/dcache.c
+++ b/fs/dcache.c
@@ -1456,8 +1456,6 @@ out:
* d_validate - verify dentry provided from insecure source
* @dentry: The dentry alleged to be valid child of @dparent
* @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.
* This is used by ncpfs in its readdir implementation.