From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Hellwig Subject: Re: Access content of file via inodes Date: Tue, 5 Apr 2005 08:22:17 +0100 Message-ID: <20050405072217.GB26208@infradead.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: linux-fsdevel@vger.kernel.org Return-path: Received: from pentafluge.infradead.org ([213.146.154.40]:9180 "EHLO pentafluge.infradead.org") by vger.kernel.org with ESMTP id S261590AbVDEHWl (ORCPT ); Tue, 5 Apr 2005 03:22:41 -0400 To: Kathy KN Content-Disposition: inline In-Reply-To: Sender: linux-fsdevel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org On Tue, Apr 05, 2005 at 09:23:19AM +0800, Kathy KN wrote: > Good day all, > > How do I access/read the content of the files via using inodes > or blocks that belong to the inode, at sys_link and vfs_link layer? > I used bmap to access the blocks that belongs to the inodes, but > getting access to the buffer_head's b_data doesn't seem to help. You don't. There might not even be any blocks.