From: Al Viro Date: Wed, 3 Aug 2016 18:37:13 +0100 Subject: [Cluster-devel] [PATCH v2 RESEND] fs: return EPERM on immutable inode In-Reply-To: <1470139108-13115-1-git-send-email-guaneryu@gmail.com> References: <1470139108-13115-1-git-send-email-guaneryu@gmail.com> Message-ID: <20160803173712.GJ2356@ZenIV.linux.org.uk> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit On Tue, Aug 02, 2016 at 07:58:28PM +0800, Eryu Guan wrote: > 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 > Signed-off-by: Eryu Guan Applied.