lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1176014343.20429.6.camel@colyT43.site>
Date:	Sun, 08 Apr 2007 14:39:03 +0800
From:	coly <colyli@...il.com>
To:	linux-ext4 <linux-ext4@...r.kernel.org>
Subject: confused on different inode size

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

-
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ