|
@@ -860,7 +860,6 @@ static int page_action(struct page_state *ps, struct page *p,
|
|
int count;
|
|
int count;
|
|
|
|
|
|
result = ps->action(p, pfn);
|
|
result = ps->action(p, pfn);
|
|
- action_result(pfn, ps->msg, result);
|
|
|
|
|
|
|
|
count = page_count(p) - 1;
|
|
count = page_count(p) - 1;
|
|
if (ps->action == me_swapcache_dirty && result == DELAYED)
|
|
if (ps->action == me_swapcache_dirty && result == DELAYED)
|
|
@@ -871,6 +870,7 @@ static int page_action(struct page_state *ps, struct page *p,
|
|
pfn, ps->msg, count);
|
|
pfn, ps->msg, count);
|
|
result = FAILED;
|
|
result = FAILED;
|
|
}
|
|
}
|
|
|
|
+ action_result(pfn, ps->msg, result);
|
|
|
|
|
|
/* Could do more checks here if page looks ok */
|
|
/* Could do more checks here if page looks ok */
|
|
/*
|
|
/*
|