[GIT PULL] overlayfs update for 5.7
From: Miklos Szeredi
Date: Wed Apr 08 2020 - 04:54:39 EST
Hi Linus,
Please pull from:
git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/vfs.git tags/ovl-update-5.7
- Fix failure to copy-up files from certain NFSv4 mounts.
- Sort out inconsistencies between st_ino and i_ino (used in /proc/locks).
- Allow consistent (POSIX-y) inode numbering in more cases.
- Allow virtiofs to be used as upper layer.
- Miscellaneous cleanups and fixes.
Thanks,
Miklos
---
Al Viro (1):
ovl: ovl_obtain_alias(): don't call d_instantiate_anon() for old
Amir Goldstein (10):
ovl: fix value of i_ino for lower hardlink corner case
ovl: fix out of date comment and unreachable code
ovl: factor out helper ovl_get_root()
ovl: simplify i_ino initialization
ovl: check if upper fs supports RENAME_WHITEOUT
ovl: strict upper fs requirements for remote upper fs
ovl: use a private non-persistent ino pool
ovl: avoid possible inode number collisions with xino=on
ovl: enable xino automatically in more cases
ovl: document xino expected behavior
Chengguang Xu (1):
ovl: fix a typo in comment
Gustavo A. R. Silva (1):
ovl: replace zero-length array with flexible-array member
Miklos Szeredi (7):
ovl: document permission model
ovl: ignore failure to copy up unknown xattrs
ovl: restructure dentry revalidation
ovl: separate detection of remote upper layer from stacked overlay
ovl: decide if revalidate needed on a per-dentry basis
ovl: allow remote upper
ovl: fix WARN_ON nlink drop to zero
---
Documentation/filesystems/overlayfs.rst | 82 +++++++++-
fs/overlayfs/copy_up.c | 16 +-
fs/overlayfs/dir.c | 31 +++-
fs/overlayfs/export.c | 40 ++---
fs/overlayfs/inode.c | 99 ++++++++----
fs/overlayfs/namei.c | 5 +-
fs/overlayfs/overlayfs.h | 25 +++-
fs/overlayfs/ovl_entry.h | 2 +
fs/overlayfs/readdir.c | 25 +++-
fs/overlayfs/super.c | 258 ++++++++++++++++++++++----------
fs/overlayfs/util.c | 40 +++--
11 files changed, 460 insertions(+), 163 deletions(-)