Message ID | 20200131061114.osgPV4cwc%akpm@linux-foundation.org |
---|---|
State | New |
Headers | show |
Series | [001/118] lib/test_bitmap: correct test data offsets for 32-bit | expand |
--- a/mm/migrate.c~mm-migratec-also-overwrite-error-when-it-is-bigger-than-zero +++ a/mm/migrate.c @@ -1676,7 +1676,7 @@ out_flush: err1 = do_move_pages_to_node(mm, &pagelist, current_node); if (!err1) err1 = store_status(status, start, current_node, i - start); - if (!err) + if (err >= 0) err = err1; out: return err;