From mboxrd@z Thu Jan 1 00:00:00 1970 From: pritambankar1988@gmail.com (Pritam Bankar) Date: Mon, 2 Apr 2012 17:59:22 +0530 Subject: i_block field In-Reply-To: References: Message-ID: To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org May I know what is e4_inode ? Thanks, Pritam On Mon, Mar 12, 2012 at 6:51 PM, Ganesh Patil wrote: > Hello, > > I have printed the i_blocks[EXT4_N_BLOCKS] filed from ext4_inode > structure. of my file (a.txt); > > code: > ret= ext4_get_inode_loc(d_inode1, &iloc); > e4_inode= ext4_raw_inode(&iloc); > for(i=0;i<5;i++) > { > printk(KERN_INFO "%d",e4_inode->i_block[i]); > } > > I got the following result.: > > 127754 > 4 > 0 > 0 > 1 > 8705 > > what is the 127754 (Address of extent or data block)? > what is 8705 &1 ? > > > -- > Regards, > Ganesh Patil. > > > _______________________________________________ > Kernelnewbies mailing list > Kernelnewbies at kernelnewbies.org > http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies > > -- Pritam Bankar -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20120402/2da25eb7/attachment.html