diff --git a/fs/f2fs/compress.c b/fs/f2fs/compress.c index 11653fa79289..10b545a1088e 100644 --- a/fs/f2fs/compress.c +++ b/fs/f2fs/compress.c @@ -743,7 +743,7 @@ void f2fs_decompress_cluster(struct decompress_io_ctx *dic, bool in_task) ret = -EFSCORRUPTED; /* Avoid f2fs_commit_super in irq context */ - if (in_task) + if (!in_task) f2fs_save_errors(sbi, ERROR_FAIL_DECOMPRESSION); else f2fs_handle_error(sbi, ERROR_FAIL_DECOMPRESSION);