Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752524AbYLYUdT (ORCPT ); Thu, 25 Dec 2008 15:33:19 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752021AbYLYUdJ (ORCPT ); Thu, 25 Dec 2008 15:33:09 -0500 Received: from zeniv.linux.org.uk ([195.92.253.2]:47017 "EHLO ZenIV.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751999AbYLYUdI (ORCPT ); Thu, 25 Dec 2008 15:33:08 -0500 Date: Thu, 25 Dec 2008 20:33:02 +0000 From: Al Viro To: "C. Scott Ananian" Cc: Christoph Hellwig , Eric Paris , linux-kernel@vger.kernel.org Subject: Re: [RFC PATCH -v4 00/14] fsnotify, dnotify, and inotify Message-ID: <20081225203302.GS28946@ZenIV.linux.org.uk> References: <20081212213915.27112.57526.stgit@paris.rdu.redhat.com> <1229916126.29604.47.camel@localhost.localdomain> <20081222210410.GL28946@ZenIV.linux.org.uk> <20081222232125.GA25334@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-11-01) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 672 Lines: 13 On Thu, Dec 25, 2008 at 01:17:28PM -0500, C. Scott Ananian wrote: > getcwd doesn't actually hold a file descriptor to the working > directory. If you reread my message, you'll find that I was explicit > about where the information was stored. Indeed - explicit, persistent and wrong. For current directory of a process we store vfsmount and dentry. And use those in getcwd() rather than playing hopeless games with inodes. -- 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/