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-04-06 09:47:01 +10:00
2016-04-06 09:47:01 +10:00
2013-05-07 18:45:36 -05:00
2011-08-12 16:21:35 -05:00
2012-11-19 20:11:24 -06:00
2016-03-31 00:30:15 -04:00
2016-07-27 09:53:35 -07:00
2016-07-27 09:53:35 -07:00
2011-08-12 16:21:35 -05:00
2011-08-12 16:21:35 -05:00
2016-07-27 09:53:35 -07:00
2016-02-09 16:54:58 +11:00
2016-07-20 11:48:46 +10:00
2016-04-06 09:20:36 +10:00
2016-06-01 17:38:15 +10:00
2013-05-07 18:45:36 -05:00
2016-04-06 09:19:55 +10:00
2016-06-01 17:38:15 +10:00
2016-04-06 09:20:36 +10:00
2013-05-07 18:45:36 -05:00