[GIT PULL] overlayfs fixes for 4.13-rc1

From: Miklos Szeredi
Date: Fri Jul 21 2017 - 15:41:17 EST


Hi Linus,

Please pull from:

git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/vfs.git overlayfs-linus

This fixes a crash with SELinux and several other old and new bugs.

Thanks,
Miklos

---
Amir Goldstein (6):
ovl: fix random return value on mount
ovl: mark parent impure on ovl_link()
ovl: fix origin verification of index dir
ovl: remove unneeded check for IS_ERR()
ovl: do not cleanup directory and whiteout index entries
ovl: check for bad and whiteout index on lookup

Miklos Szeredi (1):
ovl: fix xattr get and set with selinux

---
fs/overlayfs/dir.c | 22 ++++++++++++++++++----
fs/overlayfs/inode.c | 32 +++++++++++++++++---------------
fs/overlayfs/namei.c | 41 ++++++++++++++++++++++++++++++++---------
fs/overlayfs/overlayfs.h | 10 ++++++----
fs/overlayfs/readdir.c | 5 ++++-
fs/overlayfs/super.c | 13 +++++--------
fs/overlayfs/util.c | 7 ++++++-
7 files changed, 88 insertions(+), 42 deletions(-)