i_block field

Ganesh Patil patil.ganesh170 at gmail.com
Mon Mar 12 09:21:34 EDT 2012


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20120312/e8453cfc/attachment.html 


More information about the Kernelnewbies mailing list