From mboxrd@z Thu Jan 1 00:00:00 1970 From: Qinghuang Feng Subject: [PATCH] fs/dcache.c: update comment of d_validate() Date: Mon, 13 Oct 2008 18:32:42 +0800 Message-ID: <200810131832.42981.qhfeng.kernel@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Cc: linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org To: viro@zeniv.linux.org.uk Return-path: Received: from ti-out-0910.google.com ([209.85.142.191]:56091 "EHLO ti-out-0910.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752138AbYJMKcs (ORCPT ); Mon, 13 Oct 2008 06:32:48 -0400 Received: by ti-out-0910.google.com with SMTP id b6so867836tic.23 for ; Mon, 13 Oct 2008 03:32:46 -0700 (PDT) Content-Disposition: inline Sender: linux-fsdevel-owner@vger.kernel.org List-ID: Parameters @hash and @len have been removed since 2.4.3, now just to delete them. Signed-off-by: Qinghuang Feng --- 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.