mirror of
https://github.com/torvalds/linux.git
synced 2026-06-02 03:24:19 +02:00
f2fs: add dump_stack() in f2fs_handle_critical_error()
To show call stack, so that we can see who causes critical error, note that it won't call dump_stack() for shutdown path. Signed-off-by: Chao Yu <chao@kernel.org> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
This commit is contained in:
parent
1534747d31
commit
4f91f07470
|
|
@ -4250,6 +4250,8 @@ void f2fs_handle_critical_error(struct f2fs_sb_info *sbi, unsigned char reason)
|
|||
|
||||
if (shutdown)
|
||||
set_sbi_flag(sbi, SBI_IS_SHUTDOWN);
|
||||
else
|
||||
dump_stack();
|
||||
|
||||
/*
|
||||
* Continue filesystem operators if errors=continue. Should not set
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user