Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1454149

Re: [PATCH v2 RESEND] fs: return EPERM on immutable inode

From Christoph Hellwig <hch@infradead.org>
Newsgroups linux.kernel
Subject Re: [PATCH v2 RESEND] fs: return EPERM on immutable inode
Date 2016-08-02 14:40 +0200
Message-ID <s1H9i-4r7-89@gated-at.bofh.it> (permalink)
References <s1H9i-4r7-91@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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.

Looks fine,

Reviewed-by: Christoph Hellwig <hch@lst.de>

Although maybe you'll have to split this into one patch per subsystems,
as otherwise no maintainer might be enticed to pick it up.

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH v2 RESEND] fs: return EPERM on immutable inode Christoph Hellwig <hch@infradead.org> - 2016-08-02 14:40 +0200

csiph-web