From: UZAIR LAKHANI Subject: Re: getting file pointer from dentry/inode Date: Thu, 4 May 2006 03:48:12 -0700 (PDT) Message-ID: <20060504104812.61391.qmail@web37902.mail.mud.yahoo.com> References: <20060504100211.GA19970@fspc268> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7BIT Cc: UZAIR LAKHANI Return-path: Received: from web37902.mail.mud.yahoo.com ([209.191.124.97]:1166 "HELO web37902.mail.mud.yahoo.com") by vger.kernel.org with SMTP id S1751488AbWEDKsN (ORCPT ); Thu, 4 May 2006 06:48:13 -0400 To: Tomas Hruby , linux-fsdevel@vger.kernel.org In-Reply-To: <20060504100211.GA19970@fspc268> Sender: linux-fsdevel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org --- Tomas Hruby wrote: > > Secondly is this logically correct to get the file > > pointer from inode/dentry etc. > > I don't think so. A single file on a disk (inode) > can be opened concurrently, > with different mode, with different read position, > etc. Many file structures > share the same inode then. > > TH Hello All, ok I agree that "A single file on a disk (inode) > can be opened concurrently, > with different mode, with different read position, > etc. Many file structures > share the same inode then." but since I am getting the dentry so can I use the dentry_open function. If this is ok then additionally what is the purpose of dentry_open function. Thanks, Uzair Lakhani > - > To unsubscribe from this list: send the line > "unsubscribe linux-fsdevel" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at > http://vger.kernel.org/majordomo-info.html > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com