public inbox for linux-ext4@vger.kernel.org
 help / color / mirror / Atom feed
* confused on different inode size
@ 2007-04-08  6:39 coly
  2007-04-08 17:52 ` Theodore Tso
  0 siblings, 1 reply; 5+ messages in thread
From: coly @ 2007-04-08  6:39 UTC (permalink / raw)
  To: linux-ext4

Hi, list:

I find size of struct ext4_inode is 152 bytes, but from the dumpe2fs, it
tells me the inode size is 128 bytes.

I am confused that, the ext4_inode is the on-disk inode format, so how
can dumpe2fs tells the inode size is 128 bytes.

Further more, when I use sb_bread() to read inode from inode table (with
152 bytes inode size), I can not read proper data from the bh->b_data.
Once I use 128 bytes inode size, I can read what I want from the
bh->b_data.

I believe there is something I missed, can anybody give me some points ?

Thanks in advance.

Coly

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

end of thread, other threads:[~2007-04-09 15:54 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-08  6:39 confused on different inode size coly
2007-04-08 17:52 ` Theodore Tso
2007-04-09  2:33   ` coly
2007-04-09 15:26     ` Theodore Tso
2007-04-09 15:58       ` coly

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox