| commit | b66d00dfebe79ebd0d5a0ec4ee4e26583432c381 | [log] [tgz] |
|---|---|---|
| author | Kefeng Wang <wangkefeng.wang@huawei.com> | Fri Oct 21 16:46:11 2022 +0800 |
| committer | Andrew Morton <akpm@linux-foundation.org> | Tue Nov 08 17:37:21 2022 -0800 |
| tree | d9327220d9d2fc70e209a4bd619b023701dc0e75 | |
| parent | 183a7c5d15d3c56f49955662d3edd0092141df78 [diff] |
mm: memory-failure: make action_result() return int Check mf_result in action_result(), only return 0 when MF_RECOVERED, or return -EBUSY, which will simplify code a bit. [wangkefeng.wang@huawei.com: v2] Link: https://lkml.kernel.org/r/20221024035138.99119-1-wangkefeng.wang@huawei.com Link: https://lkml.kernel.org/r/20221021084611.53765-3-wangkefeng.wang@huawei.com Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com> Acked-by: Naoya Horiguchi <naoya.horiguchi@nec.com> Reviewed-by: Miaohe Lin <linmiaohe@huawei.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>