aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mm/memory-failure.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/memory-failure.c b/mm/memory-failure.c
index 8639f6b28746..b852b10ec76d 100644
--- a/mm/memory-failure.c
+++ b/mm/memory-failure.c
@@ -860,7 +860,6 @@ static int page_action(struct page_state *ps, struct page *p,
860 int count; 860 int count;
861 861
862 result = ps->action(p, pfn); 862 result = ps->action(p, pfn);
863 action_result(pfn, ps->msg, result);
864 863
865 count = page_count(p) - 1; 864 count = page_count(p) - 1;
866 if (ps->action == me_swapcache_dirty && result == DELAYED) 865 if (ps->action == me_swapcache_dirty && result == DELAYED)
@@ -871,6 +870,7 @@ static int page_action(struct page_state *ps, struct page *p,
871 pfn, ps->msg, count); 870 pfn, ps->msg, count);
872 result = FAILED; 871 result = FAILED;
873 } 872 }
873 action_result(pfn, ps->msg, result);
874 874
875 /* Could do more checks here if page looks ok */ 875 /* Could do more checks here if page looks ok */
876 /* 876 /*