[GIT PULL] overlayfs update for 6.2

From: Miklos Szeredi
Date: Mon Dec 12 2022 - 06:08:48 EST


Hi Linus,

Please pull from:

git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/vfs.git tags/ovl-update-6.2

- Fix a couple of bugs found by syzbot

- Don't ingore some open flags set by fcntl(F_SETFL)

- Fix failure to create a hard link in certain cases

- Use type safe helpers for some mnt_userns transformations

- Improve performance of mount

- Misc cleanups

Thanks,
Miklos

---
Al Viro (1):
ovl: update ->f_iocb_flags when ovl_change_flags() modifies ->f_flags

Amir Goldstein (2):
ovl: do not reconnect upper index records in ovl_indexdir_cleanup()
ovl: use plain list filler in indexdir and workdir cleanup

Chen Zhongjin (1):
ovl: fix use inode directly in rcu-walk mode

Christian Brauner (1):
ovl: port to vfs{g,u}id_t and associated helpers

Colin Ian King (1):
ovl: Kconfig: Fix spelling mistake "undelying" -> "underlying"

Jiangshan Yi (1):
ovl: fix comment typos

Kees Cook (1):
ovl: Use "buf" flexible array for memcpy() destination

Miklos Szeredi (1):
ovl: use inode instead of dentry where possible

Stanislav Goriainov (1):
ovl: Add comment on upperredirect reassignment

Zhang Tianci (1):
ovl: Use ovl mounter's fsuid and fsgid in ovl_link()

---
fs/overlayfs/Kconfig | 2 +-
fs/overlayfs/dir.c | 46 +++++++++++++++++++++++++-------------
fs/overlayfs/export.c | 8 +++----
fs/overlayfs/file.c | 3 ++-
fs/overlayfs/namei.c | 12 +++++++---
fs/overlayfs/overlayfs.h | 11 ++++-----
fs/overlayfs/readdir.c | 58 ++++++++++++++++++++++--------------------------
fs/overlayfs/super.c | 7 +++++-
fs/overlayfs/util.c | 15 ++++++++-----
9 files changed, 93 insertions(+), 69 deletions(-)