[GIT PULL] overlayfs fixes for 6.8-rc2

From: Amir Goldstein
Date: Thu Jan 25 2024 - 06:23:27 EST


Hi Linus,

Please pull overlayfs fixes for 6.8-rc2.

This branch has been sitting in linux-next for a couple of days and
it has gone through the usual overlayfs test routines.

The branch merges cleanly with master branch of the moment.

Thanks,
Amir.

----------------------------------------------------------------
The following changes since commit 6613476e225e090cc9aad49be7fa504e290dd33d:

Linux 6.8-rc1 (2024-01-21 14:11:32 -0800)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/overlayfs/vfs.git ovl-fixes-6.8-rc2

for you to fetch changes up to 420332b94119cdc7db4477cc88484691cb92ae71:

ovl: mark xwhiteouts directory with overlay.opaque='x' (2024-01-23 12:39:48 +0200)

----------------------------------------------------------------
overlayfs fixes for 6.8-rc2:

- Change in on-disk format for the new "xwhiteouts" feature introduced in v6.7

The change reduces unneeded overhead of an extra getxattr per readdir.
The only user of the "xwhiteout" feature is the external composefs tool,
which has been updated to support the new on-disk format.

This change is also designated for 6.7.y.

----------------------------------------------------------------
Amir Goldstein (1):
ovl: mark xwhiteouts directory with overlay.opaque='x'

Documentation/filesystems/overlayfs.rst | 16 ++++++++--
fs/overlayfs/namei.c | 43 ++++++++++++++++----------
fs/overlayfs/overlayfs.h | 23 ++++++++++----
fs/overlayfs/ovl_entry.h | 4 ++-
fs/overlayfs/readdir.c | 7 +++--
fs/overlayfs/super.c | 15 ++++++++++
fs/overlayfs/util.c | 53 +++++++++++++++++++--------------
7 files changed, 110 insertions(+), 51 deletions(-)