[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1210790832-20680-1-git-send-email-aneesh.kumar@linux.vnet.ibm.com>
Date: Thu, 15 May 2008 00:17:10 +0530
From: "Aneesh Kumar K.V" <aneesh.kumar@...ux.vnet.ibm.com>
To: cmm@...ibm.com, tytso@....edu, sandeen@...hat.com
Cc: linux-ext4@...r.kernel.org,
"Aneesh Kumar K.V" <aneesh.kumar@...ux.vnet.ibm.com>
Subject: [PATCH] ext4: printk stack trace on ext4_error, ext4_abort and ext4_warning.
This helps in better debugging of the problem reported.
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@...ux.vnet.ibm.com>
---
fs/ext4/super.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/fs/ext4/super.c b/fs/ext4/super.c
index cd7cac0..93f4820 100644
--- a/fs/ext4/super.c
+++ b/fs/ext4/super.c
@@ -238,6 +238,7 @@ void ext4_error (struct super_block * sb, const char * function,
vprintk(fmt, args);
printk("\n");
va_end(args);
+ dump_stack();
ext4_handle_error(sb);
}
@@ -320,6 +321,7 @@ void ext4_abort (struct super_block * sb, const char * function,
vprintk(fmt, args);
printk("\n");
va_end(args);
+ dump_stack();
if (test_opt(sb, ERRORS_PANIC))
panic("EXT4-fs panic from previous error\n");
@@ -345,6 +347,7 @@ void ext4_warning (struct super_block * sb, const char * function,
vprintk(fmt, args);
printk("\n");
va_end(args);
+ dump_stack();
}
void ext4_update_dynamic_rev(struct super_block *sb)
--
1.5.5.1.211.g65ea3.dirty
--
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