Re: i_block field

2012-04-02 Thread Ganesh Patil
On Mon, Apr 2, 2012 at 5:59 PM, Pritam Bankar wrote: > 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); >> >> co

Re: i_block field

2012-04-02 Thread Pritam Bankar
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_ino

i_block field

2012-03-12 Thread Ganesh Patil
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