f2fs: show simple call stack in fault injection message
[linux-block.git] / fs / f2fs / gc.c
index 6c996e39b59a0d999e9eae7bfd4097735e24af3e..8be5144da8e63672426ca1e57fc96695d10fd619 100644 (file)
@@ -48,8 +48,10 @@ static int gc_thread_func(void *data)
                }
 
 #ifdef CONFIG_F2FS_FAULT_INJECTION
-               if (time_to_inject(sbi, FAULT_CHECKPOINT))
+               if (time_to_inject(sbi, FAULT_CHECKPOINT)) {
+                       f2fs_show_injection_info(FAULT_CHECKPOINT);
                        f2fs_stop_checkpoint(sbi, false);
+               }
 #endif
 
                /*