[GIT PULL] vfs fixes

From: Christian Brauner
Date: Mon Sep 30 2024 - 09:46:50 EST


Hey Linus,

/* Summary */
This contains fixes for this merge window:

afs:

- Fix setting of the server responding flag.

- Remove unused struct afs_address_list and afs_put_address_list() function.

- Fix infinite loop because of unresponsive servers.

- Ensure that afs_retry_request() function is correctly added to the
afs_req_ops netfs operations table.

netfs:

- Fix netfs_folio tracepoint handling to handle NULL mappings.

- Add a missing folio_queue API documentation.

- Ensure that netfs_write_folio() correctly advances the iterator via
iov_iter_advance().

- Fix a dentry leak during concurrent cull and cookie lookup operations in
cachefiles.

pidfs:

- Correctly handle accessing another task's pid namespace.

/* Testing */

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

/* Conflicts */

No known conflicts.

The following changes since commit 075dbe9f6e3c21596c5245826a4ee1f1c1676eb8:

Merge tag 'soc-ep93xx-dt-6.12' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc (2024-09-26 12:00:25 -0700)

are available in the Git repository at:

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

for you to fetch changes up to f801850bc263d7fa0a4e6d9a36cddf4966c79c14:

netfs: Fix the netfs_folio tracepoint to handle NULL mapping (2024-09-30 14:11:05 +0200)

Please consider pulling these changes from the signed vfs-6.12-rc2.fixes tag.

Thanks!
Christian

----------------------------------------------------------------
vfs-6.12-rc2.fixes

----------------------------------------------------------------
Baokun Li (1):
cachefiles: fix dentry leak in cachefiles_open_file()

Christian Brauner (1):
pidfs: check for valid pid namespace

David Howells (5):
afs: Fix missing wire-up of afs_retry_request()
afs: Fix the setting of the server responding flag
netfs: Advance iterator correctly rather than jumping it
netfs: Add folio_queue API documentation
netfs: Fix the netfs_folio tracepoint to handle NULL mapping

Marc Dionne (1):
afs: Fix possible infinite loop with unresponsive servers

Thorsten Blum (1):
afs: Remove unused struct and function prototype

Documentation/core-api/folio_queue.rst | 212 +++++++++++++++++++++++++++++++++
fs/afs/afs_vl.h | 9 --
fs/afs/file.c | 1 +
fs/afs/fs_operation.c | 2 +-
fs/afs/fs_probe.c | 4 +-
fs/afs/rotate.c | 11 +-
fs/cachefiles/namei.c | 7 +-
fs/netfs/write_issue.c | 12 +-
fs/pidfs.c | 5 +-
include/linux/folio_queue.h | 168 ++++++++++++++++++++++++++
include/trace/events/netfs.h | 3 +-
11 files changed, 410 insertions(+), 24 deletions(-)
create mode 100644 Documentation/core-api/folio_queue.rst