Commit 4308a50e authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] ext3: add a dump_stack()

add a dump_stack() to a can't-happen path which happened during development.
parent b55d3305
...@@ -2616,6 +2616,7 @@ void ext3_write_inode(struct inode *inode, int wait) ...@@ -2616,6 +2616,7 @@ void ext3_write_inode(struct inode *inode, int wait)
if (ext3_journal_current_handle()) { if (ext3_journal_current_handle()) {
jbd_debug(0, "called recursively, non-PF_MEMALLOC!\n"); jbd_debug(0, "called recursively, non-PF_MEMALLOC!\n");
dump_stack();
return; return;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment