i_block field

Pritam Bankar pritambankar1988 at gmail.com
Mon Apr 2 08:29:22 EDT 2012


May I know what is  e4_inode ?

Thanks,
Pritam

On Mon, Mar 12, 2012 at 6:51 PM, Ganesh Patil <patil.ganesh170 at gmail.com>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 


More information about the Kernelnewbies mailing list