kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
From: pritambankar1988@gmail.com (Pritam Bankar)
To: kernelnewbies@lists.kernelnewbies.org
Subject: i_block field
Date: Mon, 2 Apr 2012 17:59:22 +0530	[thread overview]
Message-ID: <CAE6Wm-v5Wiy6SW6eyFhxB-2omZOyM_1ci9n0GXQ+fAKtyLEEGQ@mail.gmail.com> (raw)
In-Reply-To: <CAN2Q5rvp5g3T2dL8gVFwqh99FRhcRBiWyaBj0nb1KZcbGm4+Lw@mail.gmail.com>

May I know what is  e4_inode ?

Thanks,
Pritam

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

  reply	other threads:[~2012-04-02 12:29 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-12 13:21 i_block field Ganesh Patil
2012-04-02 12:29 ` Pritam Bankar [this message]
2012-04-02 16:20   ` Ganesh Patil

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAE6Wm-v5Wiy6SW6eyFhxB-2omZOyM_1ci9n0GXQ+fAKtyLEEGQ@mail.gmail.com \
    --to=pritambankar1988@gmail.com \
    --cc=kernelnewbies@lists.kernelnewbies.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).