Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Wed, 12 Mar 2003 05:00:52 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Wed, 12 Mar 2003 05:00:51 -0500 Received: from phoenix.mvhi.com ([195.224.96.167]:14598 "EHLO phoenix.infradead.org") by vger.kernel.org with ESMTP id ; Wed, 12 Mar 2003 05:00:50 -0500 Date: Wed, 12 Mar 2003 10:11:33 +0000 From: Christoph Hellwig To: Torsten Foertsch Cc: linux-kernel@vger.kernel.org Subject: Re: [2.4.19] How to get the path name of a struct dentry Message-ID: <20030312101133.A9312@infradead.org> Mail-Followup-To: Christoph Hellwig , Torsten Foertsch , linux-kernel@vger.kernel.org References: <200303121033.08560.torsten.foertsch@gmx.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <200303121033.08560.torsten.foertsch@gmx.net>; from torsten.foertsch@gmx.net on Wed, Mar 12, 2003 at 10:33:05AM +0100 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 543 Lines: 15 On Wed, Mar 12, 2003 at 10:33:05AM +0100, Torsten Foertsch wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi, > > Assuming I have got a particular (struct dentry*)dp, how can I get it's full > path name. You can't. See d_path() for the information needed to get an absolute path. - 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/