Re: i_block field

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



May I know what is  e4_inode ?

Thanks,
Pritam

On Mon, Mar 12, 2012 at 6:51 PM, Ganesh Patil <patil.ganesh170@xxxxxxxxx> 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@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies




--

Pritam Bankar
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Networking]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]

Add to Google Powered by Linux