aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/minix_fs.h
diff options
context:
space:
mode:
authorAndries Brouwer <Andries.Brouwer@cwi.nl>2007-02-20 16:57:47 -0500
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-02-20 20:10:13 -0500
commitf4fa27c16ba9b6910c5b815e5c13a7e8249277f0 (patch)
tree9ee0567da54c02d59ac74158b513d821ab77c64d /include/linux/minix_fs.h
parent5085b607fb6c03d7668126b55cb54f20969c203c (diff)
[PATCH] minix v3: fix superblock definition
Somehow we got the layout of the v3 superblock wrong, which causes crashes due to overindexing of the buffer_head array in statfs on large fielsystems. Cc: "Cedric Augonnet" <cedric.augonnet@gmail.com> Cc: "Daniel Aragones" <danarag@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/minix_fs.h')
-rw-r--r--include/linux/minix_fs.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/linux/minix_fs.h b/include/linux/minix_fs.h
index 9850d513ff60..0e39745f5111 100644
--- a/include/linux/minix_fs.h
+++ b/include/linux/minix_fs.h
@@ -78,8 +78,7 @@ struct minix_super_block {
78 * V3 minix super-block data on disk 78 * V3 minix super-block data on disk
79 */ 79 */
80struct minix3_super_block { 80struct minix3_super_block {
81 __u16 s_ninodes; 81 __u32 s_ninodes;
82 __u16 s_nzones;
83 __u16 s_pad0; 82 __u16 s_pad0;
84 __u16 s_imap_blocks; 83 __u16 s_imap_blocks;
85 __u16 s_zmap_blocks; 84 __u16 s_zmap_blocks;