kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
* i_block field
@ 2012-03-12 13:21 Ganesh Patil
  2012-04-02 12:29 ` Pritam Bankar
  0 siblings, 1 reply; 3+ messages in thread
From: Ganesh Patil @ 2012-03-12 13:21 UTC (permalink / raw)
  To: kernelnewbies

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 

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-04-02 16:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-12 13:21 i_block field Ganesh Patil
2012-04-02 12:29 ` Pritam Bankar
2012-04-02 16:20   ` Ganesh Patil

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).