]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - mm/memory-failure.c
Merge tag 'pci-v4.13-changes' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaa...
[karo-tx-linux.git] / mm / memory-failure.c
index a74c8311db95155454dc1216fd693c02ea1d36d6..dbe3e50c9aa5ea9a6bb46a3430ce04fe04b24e53 100644 (file)
@@ -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);