From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ashish Khurange Subject: Re: get vfsmount from dentry Date: Sun, 12 Mar 2006 22:50:51 +0530 Message-ID: <44145873.6010802@it.iitb.ac.in> References: <441425BB.6030604@it.iitb.ac.in> <20060312135543.GB27946@ftp.linux.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: linux-fsdevel@vger.kernel.org Return-path: Received: from smtp1.iitb.ac.in ([59.163.25.49]:46299 "HELO smtp1.iitb.ac.in") by vger.kernel.org with SMTP id S1751605AbWCLRVX (ORCPT ); Sun, 12 Mar 2006 12:21:23 -0500 To: Al Viro In-Reply-To: <20060312135543.GB27946@ftp.linux.org.uk> Sender: linux-fsdevel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org Al Viro wrote: >Which one? > > > The name used by a process to access the file. >There is no such thing as pathname of a file. > Please do not confuse me in jargon of words. I may not be clear in terminology. >Moreover, the pathname that makes sense >for one process doesn't have to resolve to the same file (or even resolve >at all) for others. > > > Yes thats it, the pathname that is used by a process to access a file, I want to that pathname. >So what are you really trying to achieve? > > To get that pathname along with dentry of the file I need the vfsmount of that file also. Is there any way to get vfsmount of a file, when you have its dentry with you. - Ashish