linux/fs/overlayfs
Amir Goldstein b0990fbbbd ovl: check IS_APPEND() on real upper inode
For overlay file open, check IS_APPEND() on the real upper inode
inside d_real(), because the overlay inode does not have the
S_APPEND flag and IS_APPEND() can only be checked at open time.

Note that because overlayfs does not copy up the chattr inode flags
(i.e. S_APPEND, S_IMMUTABLE), the IS_APPEND() check is only relevant
for upper inodes that were set with chattr +a and not to lower
inodes that had chattr +a before copy up.

Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
2017-04-20 16:37:26 +02:00
..
copy_up.c Merge branch 'overlayfs-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/vfs 2017-03-03 12:02:42 -08:00
dir.c statx: Add a system call to make enhanced file info available 2017-03-02 20:51:15 -05:00
inode.c ovl: lockdep annotate of nested stacked overlayfs inode lock 2017-03-08 15:05:23 +01:00
Kconfig ovl: allow redirect_dir to default to "on" 2016-12-16 11:02:57 +01:00
Makefile ovl: split super.c 2016-12-16 11:02:56 +01:00
namei.c sched/headers: Prepare to remove <linux/cred.h> inclusion from <linux/sched.h> 2017-03-02 08:42:31 +01:00
overlayfs.h ovl: introduce copy up waitqueue 2017-02-07 15:47:14 +01:00
ovl_entry.h ovl: introduce copy up waitqueue 2017-02-07 15:47:14 +01:00
readdir.c ovl: proper cleanup of workdir 2016-09-01 11:11:59 +02:00
super.c ovl: check IS_APPEND() on real upper inode 2017-04-20 16:37:26 +02:00
util.c ovl: Use designated initializers 2017-04-20 16:37:26 +02:00