Skip to content

Commit

Permalink
[PATCH] fs/dcache.c: update comment of d_validate()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Qinghuang Feng authored and Al Viro committed Oct 23, 2008
1 parent 0e55a7c commit 5cec56d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions fs/dcache.c
Original file line number Diff line number Diff line change
Expand Up @@ -1462,8 +1462,6 @@ struct dentry *d_hash_and_lookup(struct dentry *dir, struct qstr *name)
* 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.
Expand Down

0 comments on commit 5cec56d

Please sign in to comment.