Michal Hocko 5114a97a8b fs: use mapping_set_error instead of opencoded set_bit
The mapping_set_error() helper sets the correct AS_ flag for the mapping
so there is no reason to open code it.  Use the helper directly.

[akpm@linux-foundation.org: be honest about conversion from -ENXIO to -EIO]
Link: http://lkml.kernel.org/r/20160912111608.2588-2-mhocko@kernel.org
Signed-off-by: Michal Hocko <mhocko@suse.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2016-10-11 15:06:33 -07:00
..
2008-04-29 08:06:26 -07:00
2007-07-16 09:05:43 -07:00
2011-03-31 11:26:23 -03:00
2016-09-27 11:03:58 +02:00
2016-08-30 16:07:53 +01:00
2009-04-03 16:42:41 +01:00
2009-04-09 10:41:19 -07:00