Re: [PATCH v3] f2fs: merge f2fs_show_injection_info() into time_to_inject()

From: Chao Yu
Date: Wed Jan 11 2023 - 08:34:10 EST


On 2022/12/21 2:39, Yangtao Li wrote:
There is no need to additionally use f2fs_show_injection_info()
to output information. Concatenate time_to_inject() and
__time_to_inject() via a macro. In the new __time_to_inject()
function, pass in the caller function name and parent function.

In this way, we no longer need the f2fs_show_injection_info() function,
and let's remove it.

Suggested-by: Chao Yu <chao@xxxxxxxxxx>
Signed-off-by: Yangtao Li <frank.li@xxxxxxxx>

Reviewed-by: Chao Yu <chao@xxxxxxxxxx>

Thanks,