[GIT PULL] vfs fixes
From: Christian Brauner
Date: Mon Mar 18 2024 - 08:20:19 EST
Hey Linus,
/* Summary */
This contains a few small fixes for this merge window:
* Undo the hiding of silly-rename files in afs. If they're hidden they
can't be deleted by rm manually anymore causing regressions.
* Avoid caching the preferred address for an afs server to avoid
accidently overriding an explicitly specified preferred server address.
* Fix bad stat() and rmdir() interaction in afs.
* Take a passive reference on the superblock when opening a block device
so the holder is available to concurrent callers from the block layer.
* Clear private data pointer in fscache_begin_operation() to avoid it
being falsely treated as valid.
/* Testing */
clang: Debian clang version 16.0.6 (19)
gcc: (Debian 13.2.0-7) 13.2.0
All patches are based on mainline and have been sitting in linux-next.
No build failures or warnings were observed.
/* Conflicts */
No known conflicts.
The following changes since commit 480e035fc4c714fb5536e64ab9db04fedc89e910:
Merge tag 'drm-next-2024-03-13' of https://gitlab.freedesktop.org/drm/kernel (2024-03-13 18:34:05 -0700)
are available in the Git repository at:
git@xxxxxxxxxxxxxxxxxxx:pub/scm/linux/kernel/git/vfs/vfs tags/vfs-6.9-rc1.fixes
for you to fetch changes up to 449ac5514631dd9b9b66dd708dd5beb1428e2812:
fscache: Fix error handling in fscache_begin_operation() (2024-03-18 10:33:48 +0100)
Please consider pulling these changes from the signed vfs-6.9-rc1.fixes tag.
Thanks!
Christian
----------------------------------------------------------------
vfs-6.9-rc1.fixes
----------------------------------------------------------------
Christian Brauner (1):
fs,block: get holder during claim
David Howells (4):
afs: Revert "afs: Hide silly-rename files from userspace"
afs: Don't cache preferred address
afs: Fix occasional rmdir-then-VNOVNODE with generic/011
fscache: Fix error handling in fscache_begin_operation()
block/bdev.c | 7 +++++++
fs/afs/dir.c | 10 ----------
fs/afs/rotate.c | 21 ++++-----------------
fs/afs/validation.c | 16 +++++++++-------
fs/netfs/fscache_io.c | 4 +++-
fs/super.c | 18 ++++++++++++++++++
include/linux/blkdev.h | 10 ++++++++++
7 files changed, 51 insertions(+), 35 deletions(-)