From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Hellwig Subject: [PATCH] namei.c: remove utterly outdated comment Date: Wed, 7 Mar 2007 16:21:33 +0100 Message-ID: <20070307152133.GB15230@lst.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: linux-fsdevel@vger.kernel.org To: akpm@osdl.org Return-path: Received: from verein.lst.de ([213.95.11.210]:47064 "EHLO mail.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751915AbXCGPVi (ORCPT ); Wed, 7 Mar 2007 10:21:38 -0500 Content-Disposition: inline Sender: linux-fsdevel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org We don't have a routine called namei() anymore since at least 2.3.x, and the comment is just totally out of sync with the current lookup logic. Signed-off-by: Christoph Hellwig Index: linux-2.6/fs/namei.c =================================================================== --- linux-2.6.orig/fs/namei.c 2007-02-25 11:54:58.000000000 +0100 +++ linux-2.6/fs/namei.c 2007-02-25 11:55:08.000000000 +0100 @@ -1310,17 +1310,6 @@ return ERR_PTR(-EACCES); } -/* - * namei() - * - * is used by most simple commands to get the inode of a specified name. - * Open, link etc use their own routines, but this is enough for things - * like 'chmod' etc. - * - * namei exists in two versions: namei/lnamei. The only difference is - * that namei follows links, while lnamei does not. - * SMP-safe - */ int fastcall __user_walk_fd(int dfd, const char __user *name, unsigned flags, struct nameidata *nd) {