| To: | Eryu Guan <guaneryu@xxxxxxxxx> |
|---|---|
| Subject: | Re: [PATCH v2 RESEND] fs: return EPERM on immutable inode |
| From: | Al Viro <viro@xxxxxxxxxxxxxxxxxx> |
| Date: | Wed, 3 Aug 2016 18:37:13 +0100 |
| Cc: | linux-fsdevel@xxxxxxxxxxxxxxx, Steven Whitehouse <swhiteho@xxxxxxxxxx>, Bob Peterson <rpeterso@xxxxxxxxxx>, Dave Chinner <david@xxxxxxxxxxxxx>, "supporter:XFS FILESYSTEM" <xfs@xxxxxxxxxxx>, "open list:GFS2 FILE SYSTEM" <cluster-devel@xxxxxxxxxx>, open list <linux-kernel@xxxxxxxxxxxxxxx> |
| Delivered-to: | xfs@xxxxxxxxxxx |
| In-reply-to: | <1470139108-13115-1-git-send-email-guaneryu@xxxxxxxxx> |
| References: | <1470139108-13115-1-git-send-email-guaneryu@xxxxxxxxx> |
| Sender: | Al Viro <viro@xxxxxxxxxxxxxxxx> |
| User-agent: | Mutt/1.6.1 (2016-04-27) |
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 <dchinner@xxxxxxxxxx> > Signed-off-by: Eryu Guan <guaneryu@xxxxxxxxx> Applied. |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [PATCH] xfs: fix bogus space reservation in xfs_iomap_write_allocate, Christoph Hellwig |
|---|---|
| Next by Date: | Re: [PATCH v7 00/47] xfs: add reverse mapping support, Mark Fasheh |
| Previous by Thread: | Re: [PATCH v2 RESEND] fs: return EPERM on immutable inode, Christoph Hellwig |
| Next by Thread: | Mobile App Development Solutions- iOS, Android, Ionic & React Native, Alex Rubens |
| Indexes: | [Date] [Thread] [Top] [All Lists] |