[GIT PULL] vfs fixes

From: Christian Brauner
Date: Fri Nov 01 2024 - 08:43:40 EST


Hey Linus,

/* Summary */
This contains a few fixes:

VFS:

- Fix copy_page_from_iter_atomic() if KMAP_LOCAL_FORCE_MAP=y is set.

- Add a get_tree_bdev_flags() helper that allows to modify e.g., whether
errors are logged into the filesystem context during superblock
creation. This is used by erofs to fix a userspace regression where an
error is currently logged when its used on a regular file which is an
new allowed mode in erofs.

netfs:

- Fix the sysfs debug path in the documentation.

- Fix iov_iter_get_pages*() for folio queues by skipping the page
extracation if we're at the end of a folio.

afs:

- Fix moving subdirectories to different parent directory.

autofs:

- Fix handling of AUTOFS_DEV_IOCTL_TIMEOUT_CMD ioctl in
validate_dev_ioctl(). The actual ioctl number, not the ioctl command
needs to be checked for autofs.

/* Testing */

gcc version 14.2.0 (Debian 14.2.0-3)
Debian clang version 16.0.6 (27+b1)

All patches are based on v6.11-rc4 and have been sitting in linux-next.
No build failures or warnings were observed.

/* Conflicts */

No known conflicts.

The following changes since commit 42f7652d3eb527d03665b09edac47f85fb600924:

Linux 6.12-rc4 (2024-10-20 15:19:38 -0700)

are available in the Git repository at:

git@xxxxxxxxxxxxxxxxxxx:pub/scm/linux/kernel/git/vfs/vfs tags/vfs-6.12-rc6.fixes

for you to fetch changes up to c749d9b7ebbc5716af7a95f7768634b30d9446ec:

iov_iter: fix copy_page_from_iter_atomic() if KMAP_LOCAL_FORCE_MAP (2024-10-28 13:39:35 +0100)

(Note, I'm still not fully recovered so currently with a little reduced
activity.)
Please consider pulling these changes from the signed vfs-6.12-rc6.fixes tag.

Thanks!
Christian

----------------------------------------------------------------
vfs-6.12-rc6.fixes

----------------------------------------------------------------
Christian Brauner (1):
Merge patch series "fs/super.c: introduce get_tree_bdev_flags()"

David Howells (2):
afs: Fix missing subdir edit when renamed between parent dirs
iov_iter: Fix iov_iter_get_pages*() for folio_queue

Gao Xiang (2):
fs/super.c: introduce get_tree_bdev_flags()
erofs: use get_tree_bdev_flags() to avoid misleading messages

Hongbo Li (1):
doc: correcting the debug path for cachefiles

Hugh Dickins (1):
iov_iter: fix copy_page_from_iter_atomic() if KMAP_LOCAL_FORCE_MAP

Ian Kent (1):
autofs: fix thinko in validate_dev_ioctl()

Documentation/filesystems/caching/cachefiles.rst | 2 +-
fs/afs/dir.c | 25 +++++++
fs/afs/dir_edit.c | 91 +++++++++++++++++++++++-
fs/afs/internal.h | 2 +
fs/autofs/dev-ioctl.c | 5 +-
fs/erofs/super.c | 4 +-
fs/super.c | 26 +++++--
include/linux/fs_context.h | 6 ++
include/trace/events/afs.h | 7 +-
lib/iov_iter.c | 25 ++++---
10 files changed, 169 insertions(+), 24 deletions(-)