[GIT PULL] overlayfs fixes for 5.8-rc6

From: Miklos Szeredi
Date: Fri Jul 17 2020 - 07:55:41 EST


Hi Linus,

Please pull from:

git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/vfs.git tags/ovl-fixes-5.8-rc6

Fix the following:

- a regression introduced in v4.20 in handling a regenerated squashfs
lower layer

- two regressions in this cycle, one of which is Oops inducing

- miscellaneous issues.

Thanks,
Miklos

----------------------------------------------------------------
Amir Goldstein (7):
ovl: relax WARN_ON() when decoding lower directory file handle
ovl: fix oops in ovl_indexdir_cleanup() with nfs_export=on
ovl: fix regression with re-formatted lower squashfs
ovl: force read-only sb on failure to create index dir
ovl: fix mount option checks for nfs_export with no upperdir
ovl: fix unneeded call to ovl_change_flags()
ovl: fix lookup of indexed hardlinks with metacopy

youngjun (3):
ovl: inode reference leak in ovl_is_inuse true case.
ovl: change ovl_copy_up_flags static
ovl: remove not used argument in ovl_check_origin

---
Documentation/filesystems/overlayfs.rst | 4 +-
fs/overlayfs/copy_up.c | 2 +-
fs/overlayfs/export.c | 2 +-
fs/overlayfs/file.c | 10 +++--
fs/overlayfs/namei.c | 15 +++----
fs/overlayfs/overlayfs.h | 1 -
fs/overlayfs/super.c | 73 ++++++++++++++++++++++-----------
7 files changed, 65 insertions(+), 42 deletions(-)