Eryu Guan 337684a174 fs: return EPERM on immutable inode
In most cases, EPERM is returned on immutable inode, and there're only a
few places returning EACCES. I noticed this when running LTP on
overlayfs, setxattr03 failed due to unexpected EACCES on immutable
inode.

So converting all EACCES to EPERM on immutable inode.

Acked-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2016-08-07 10:03:31 -04:00
..
2016-05-12 22:28:05 -04:00
2016-05-12 22:28:05 -04:00
2016-06-27 10:03:12 -05:00
2016-07-20 17:37:01 -06:00
2014-03-03 13:50:12 +00:00
2016-06-27 09:47:09 -05:00
2016-06-27 09:47:08 -05:00
2016-06-27 09:47:09 -05:00
2008-06-27 09:39:44 +01:00
2016-06-27 09:47:09 -05:00
2016-06-27 09:47:09 -05:00
2016-08-07 10:03:31 -04:00
2016-06-27 09:47:08 -05:00
2013-06-03 14:20:18 -07:00
2015-11-09 15:11:24 -08:00
2016-06-07 13:41:38 -06:00
2014-05-14 10:04:34 +01:00
2016-06-07 13:41:38 -06:00
2016-06-27 09:47:09 -05:00
2011-05-10 13:12:49 +01:00
2016-07-20 17:37:01 -06:00
2016-06-27 09:47:09 -05:00
2015-05-05 13:23:22 -05:00
2012-01-11 09:23:05 +00:00
2015-12-06 21:25:17 -05:00