linux-stable/fs/overlayfs
Amir Goldstein 61b674710c ovl: do not cleanup directory and whiteout index entries
Directory index entries are going to be used for looking up
redirected upper dirs by lower dir fh when decoding an overlay
file handle of a merge dir.

Whiteout index entries are going to be used as an indication that
an exported overlay file handle should be treated as stale (i.e.
after unlink of the overlay inode).

We don't know the verification rules for directory and whiteout
index entries, because they have not been implemented yet, so fail
to mount overlay rw if those entries are found to avoid corrupting
an index that was created by a newer kernel.

Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
2017-07-20 11:08:21 +02:00
..
copy_up.c ovl: mark parent impure and restore timestamp on ovl_link_up() 2017-07-04 22:08:15 +02:00
dir.c ovl: mark parent impure on ovl_link() 2017-07-13 22:06:45 +02:00
inode.c ovl: fix xattr get and set with selinux 2017-07-20 11:08:21 +02:00
Kconfig ovl: introduce the inodes index dir feature 2017-07-04 22:03:17 +02:00
Makefile ovl: split super.c 2016-12-16 11:02:56 +01:00
namei.c ovl: do not cleanup directory and whiteout index entries 2017-07-20 11:08:21 +02:00
overlayfs.h ovl: fix xattr get and set with selinux 2017-07-20 11:08:21 +02:00
ovl_entry.h ovl: add flag for upper in ovl_entry 2017-07-04 22:03:18 +02:00
readdir.c ovl: do not cleanup directory and whiteout index entries 2017-07-20 11:08:21 +02:00
super.c ovl: fix xattr get and set with selinux 2017-07-20 11:08:21 +02:00
util.c ovl: fix xattr get and set with selinux 2017-07-20 11:08:21 +02:00