All of lore.kernel.org
 help / color / mirror / Atom feed
* [merged] mm-fix-mapping_set_error-call-in-me_pagecache_dirty.patch removed from -mm tree
@ 2017-06-21 22:05 akpm
  0 siblings, 0 replies; only message in thread
From: akpm @ 2017-06-21 22:05 UTC (permalink / raw)
  To: hch, jack, jlayton, mawilcox, mm-commits, ross.zwisler


The patch titled
     Subject: mm: fix mapping_set_error call in me_pagecache_dirty
has been removed from the -mm tree.  Its filename was
     mm-fix-mapping_set_error-call-in-me_pagecache_dirty.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: Jeff Layton <jlayton@redhat.com>
Subject: mm: fix mapping_set_error call in me_pagecache_dirty

The error code should be negative.  Since this ends up in the default case
anyway, this is harmless, but it's less confusing to negate it.  Also,
later patches will require a negative error code here.

Link: http://lkml.kernel.org/r/20170525103355.6760-1-jlayton@redhat.com
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Reviewed-by: Ross Zwisler <ross.zwisler@linux.intel.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Reviewed-by: Matthew Wilcox <mawilcox@microsoft.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 mm/memory-failure.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -puN mm/memory-failure.c~mm-fix-mapping_set_error-call-in-me_pagecache_dirty mm/memory-failure.c
--- a/mm/memory-failure.c~mm-fix-mapping_set_error-call-in-me_pagecache_dirty
+++ a/mm/memory-failure.c
@@ -684,7 +684,7 @@ static int me_pagecache_dirty(struct pag
 		 * 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);
_

Patches currently in -mm which might be from jlayton@redhat.com are



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-06-21 22:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-21 22:05 [merged] mm-fix-mapping_set_error-call-in-me_pagecache_dirty.patch removed from -mm tree akpm

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.