diff --git a/mm/memory-failure.c b/mm/memory-failure.c index 2527dfeddb003d245ac2e2bd964134030426f777..3c5e0b8162f34b6beeeb88f19ac76bc90ff3c3ca 100644 --- a/mm/memory-failure.c +++ b/mm/memory-failure.c @@ -684,7 +684,7 @@ static int me_pagecache_dirty(struct page *p, unsigned long pfn) * the first EIO, but we're not worse than other parts * of the kernel. */ - mapping_set_error(mapping, EIO); + mapping_set_error(mapping, -EIO); } return me_pagecache_clean(p, pfn);