Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Mon, 26 Aug 2002 18:12:11 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Mon, 26 Aug 2002 18:12:11 -0400 Received: from barkley.vpha.health.ufl.edu ([159.178.78.160]:17052 "EHLO barkley.vpha.health.ufl.edu") by vger.kernel.org with ESMTP id ; Mon, 26 Aug 2002 18:12:10 -0400 Message-ID: <1030400196.3d6aa8c46b8ff@webmail.health.ufl.edu> Date: Mon, 26 Aug 2002 18:16:36 -0400 From: sridhar vaidyanathan To: linux-kernel@vger.kernel.org Subject: 2.4.0 sys_unlink MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7BIT User-Agent: Internet Messaging Program (IMP) 3.0 X-Originating-IP: 163.181.250.3 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 572 Lines: 11 sys_unlink in 2.4 calls path_walk which does a lookup. There is also a "restricted" lookup called lookup_hash which is called after that, which actually returns the dentry. Why is it done this way? Why cant the dentry be got from path_walk itself. Correct me if I am wrong. I am not subscribed - so send me n email -sridhar - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/