mm-commits.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [folded-merged] fs-use-mapping_set_error-instead-of-opencoded-set_bit-fix.patch removed from -mm tree
@ 2016-10-11 20:40 akpm
  0 siblings, 0 replies; only message in thread
From: akpm @ 2016-10-11 20:40 UTC (permalink / raw)
  To: akpm, mhocko, mm-commits


The patch titled
     Subject: fs-use-mapping_set_error-instead-of-opencoded-set_bit-fix
has been removed from the -mm tree.  Its filename was
     fs-use-mapping_set_error-instead-of-opencoded-set_bit-fix.patch

This patch was dropped because it was folded into fs-use-mapping_set_error-instead-of-opencoded-set_bit.patch

------------------------------------------------------
From: Andrew Morton <akpm@linux-foundation.org>
Subject: fs-use-mapping_set_error-instead-of-opencoded-set_bit-fix

Be honest about afs_write_back_from_locked_page()'s conversion from -ENXIO
to -EIO.

Cc: Michal Hocko <mhocko@suse.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 fs/afs/write.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -puN fs/afs/write.c~fs-use-mapping_set_error-instead-of-opencoded-set_bit-fix fs/afs/write.c
--- a/fs/afs/write.c~fs-use-mapping_set_error-instead-of-opencoded-set_bit-fix
+++ a/fs/afs/write.c
@@ -408,7 +408,7 @@ no_more:
 		case -ENOMEDIUM:
 		case -ENXIO:
 			afs_kill_pages(wb->vnode, true, first, last);
-			mapping_set_error(wb->vnode->vfs_inode.i_mapping, -ENXIO);
+			mapping_set_error(wb->vnode->vfs_inode.i_mapping, -EIO);
 			break;
 		case -EACCES:
 		case -EPERM:
_

Patches currently in -mm which might be from akpm@linux-foundation.org are

fs-use-mapping_set_error-instead-of-opencoded-set_bit.patch


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

only message in thread, other threads:[~2016-10-11 20:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-10-11 20:40 [folded-merged] fs-use-mapping_set_error-instead-of-opencoded-set_bit-fix.patch removed from -mm tree akpm

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).