From mboxrd@z Thu Jan 1 00:00:00 1970 From: Martin Jambor Subject: Re: changes in fs.h and fsfilter.h Date: Sat, 7 May 2005 20:59:03 +0200 Message-ID: <8e70aacf050507115938479fb7@mail.gmail.com> References: <427AC027.2070605@usc.edu> Reply-To: Martin Jambor Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7BIT Cc: linux-fsdevel@vger.kernel.org Return-path: Received: from zproxy.gmail.com ([64.233.162.198]:48925 "EHLO zproxy.gmail.com") by vger.kernel.org with ESMTP id S262739AbVEGS7D convert rfc822-to-8bit (ORCPT ); Sat, 7 May 2005 14:59:03 -0400 Received: by zproxy.gmail.com with SMTP id 18so1704534nzp for ; Sat, 07 May 2005 11:59:03 -0700 (PDT) To: Harsha Srinath In-Reply-To: <427AC027.2070605@usc.edu> Content-Disposition: inline Sender: linux-fsdevel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org Hi, On 5/6/05, Harsha Srinath wrote: > 1. In the the 2.4 ../include/linux/fs.h file, there is a union in the > VFS inode struct like :- > struct inode { > struct list_head i_hash; > struct list_head i_list; > struct list_head i_dentry; > ........ > union { > struct minix_inode_info minix_i; > struct ext2_inode_info ext2_i; > struct ext3_inode_info ext3_i; > ....... > }u; > > Can anyone tell me where this union info is present in 2.6.10 ? I I know nothing about 2.4 but the way you get an inode_info from an inode in ext2 (and similarly in minix and I suspect in ext3 too) in 2.6 is by calling EXT2_I inline function defined in fs/ext2.h. HTH Martin Jambor