summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKyle McMartin <kyle@mcmartin.ca>2010-10-21 22:38:00 -0400
committerKyle McMartin <kyle@mcmartin.ca>2010-10-21 22:38:00 -0400
commita791768570bae98c698d212d363f6c36ac5d42e5 (patch)
tree2f6f73aed4d21d9633e9ab0a60dc53399af87ae0
parent2187525cff61a1381d370d7838f7d1ea461887ea (diff)
downloadkernel-a791768570bae98c698d212d363f6c36ac5d42e5.tar.gz
kernel-a791768570bae98c698d212d363f6c36ac5d42e5.tar.xz
kernel-a791768570bae98c698d212d363f6c36ac5d42e5.zip
add ext4_inode_info
-rw-r--r--linux-2.6-debug-sizeof-structs.patch6
1 files changed, 4 insertions, 2 deletions
diff --git a/linux-2.6-debug-sizeof-structs.patch b/linux-2.6-debug-sizeof-structs.patch
index cc7747d1f..e027d98a1 100644
--- a/linux-2.6-debug-sizeof-structs.patch
+++ b/linux-2.6-debug-sizeof-structs.patch
@@ -2,10 +2,11 @@ diff --git a/init/main.c b/init/main.c
index 7449819..98cfaae 100644
--- a/init/main.c
+++ b/init/main.c
-@@ -369,6 +369,10 @@ static void __init setup_nr_cpu_ids(void)
+@@ -369,6 +369,11 @@ static void __init setup_nr_cpu_ids(void)
nr_cpu_ids = find_last_bit(cpumask_bits(cpu_possible_mask),NR_CPUS) + 1;
}
++#include <../fs/ext4/ext4.h>
+#include <linux/ext3_fs_i.h>
+#include <linux/skbuff.h>
+#include <linux/sched.h>
@@ -13,7 +14,7 @@ index 7449819..98cfaae 100644
/* Called by boot processor to activate the rest. */
static void __init smp_init(void)
{
-@@ -391,6 +395,15 @@ static void __init smp_init(void)
+@@ -391,6 +395,16 @@ static void __init smp_init(void)
/* Any cleanup work */
printk(KERN_INFO "Brought up %ld CPUs\n", (long)num_online_cpus());
smp_cpus_done(setup_max_cpus);
@@ -23,6 +24,7 @@ index 7449819..98cfaae 100644
+ printk(KERN_DEBUG "sizeof(inode)=%u bytes\n", (unsigned int) sizeof(struct inode));
+ printk(KERN_DEBUG "sizeof(dentry)=%u bytes\n", (unsigned int) sizeof(struct dentry));
+ printk(KERN_DEBUG "sizeof(ext3inode)=%u bytes\n", (unsigned int) sizeof(struct ext3_inode_info));
++ printk(KERN_DEBUG "sizeof(ext4inode)=%u bytes\n", (unsigned int) sizeof(struct ext4_inode_info));
+ printk(KERN_DEBUG "sizeof(buffer_head)=%u bytes\n", (unsigned int) sizeof(struct buffer_head));
+ printk(KERN_DEBUG "sizeof(skbuff)=%u bytes\n", (unsigned int) sizeof(struct sk_buff));
+ printk(KERN_DEBUG "sizeof(task_struct)=%u bytes\n", (unsigned int) sizeof(struct task_struct));