summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorKefeng Wang <wangkefeng.wang@huawei.com>2022-10-21 11:46:11 +0300
committerAndrew Morton <akpm@linux-foundation.org>2022-11-09 04:37:21 +0300
commitb66d00dfebe79ebd0d5a0ec4ee4e26583432c381 (patch)
treed9327220d9d2fc70e209a4bd619b023701dc0e75 /Documentation
parent183a7c5d15d3c56f49955662d3edd0092141df78 (diff)
downloadlinux-b66d00dfebe79ebd0d5a0ec4ee4e26583432c381.tar.xz
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>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions