[GIT PULL] netfs fixes
From: Christian Brauner
Date: Thu Jan 25 2024 - 05:14:13 EST
Hey Linus,
/* Summary */
This contains various fixes for the netfs work merged earlier this cycle:
afs
===
* afs: Fix locking imbalance in afs_proc_addr_prefs_show()
* afs: Remove afs_dynroot_d_revalidate() which is redundant
* afs: Fix error handling during lookup
* afs: Hide sillyrenames from userspace
This fixes a race between silly-rename files being created/removed and
userspace iterating over directory entries.
* Don't use unnecessary folio_*() functions.
cifs
====
* Don't use unnecessary folio_*() functions.
cachefiles
==========
* erofs: Fix Null dereference when cachefiles are not doing ondemand-mode
* Update mailing list.
netfs library
=============
* Add Jeff Layton as reviewer.
* Update mailing list.
* Fix a error checking in netfs_perform_write().
* fscache: Check error before dereferencing
* Don't use unnecessary folio_*() functions.
/* Testing */
clang: Debian clang version 16.0.6 (19)
gcc: (Debian 13.2.0-7) 13.2.0
All patches are based on v6.8-rc1 and have been sitting in linux-next.
No build failures or warnings were observed.
/* Conflicts */
At the time of creating this PR no merge conflicts were reported from
linux-next and no merge conflicts showed up doing a test-merge with
current mainline.
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@xxxxxxxxxxxxxxxxxxx:pub/scm/linux/kernel/git/vfs/vfs tags/vfs-6.8-rc2.netfs
for you to fetch changes up to f13d8f28fe9fb0a4d0a6c21fb3c1577d0eda4ed8:
Merge branch 'netfs-fixes' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs (2024-01-23 16:00:39 +0100)
Please consider pulling these changes from the signed vfs-6.8-rc2.netfs tag.
Thanks!
Christian
----------------------------------------------------------------
vfs-6.8-rc2.netfs
----------------------------------------------------------------
Christian Brauner (1):
Merge branch 'netfs-fixes' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs
Dan Carpenter (2):
netfs, fscache: Prevent Oops in fscache_put_cache()
netfs: Fix a NULL vs IS_ERR() check in netfs_perform_write()
David Howells (10):
netfs, cachefiles: Change mailing list
netfs: Add Jeff Layton as reviewer
netfs: Don't use certain unnecessary folio_*() functions
afs: Don't use certain unnecessary folio_*() functions
cifs: Don't use certain unnecessary folio_*() functions
cachefiles, erofs: Fix NULL deref in when cachefiles is not doing ondemand-mode
afs: Hide silly-rename files from userspace
afs: Fix error handling with lookup via FS.InlineBulkStatus
afs: Remove afs_dynroot_d_revalidate() as it is redundant
afs: Fix missing/incorrect unlocking of RCU read lock
MAINTAINERS | 5 +++--
fs/afs/dir.c | 30 ++++++++++++++++++++++--------
fs/afs/dynroot.c | 9 ---------
fs/afs/proc.c | 5 +++--
fs/cachefiles/ondemand.c | 3 +++
fs/netfs/buffered_read.c | 12 ++++++------
fs/netfs/buffered_write.c | 15 ++++++++-------
fs/netfs/fscache_cache.c | 3 ++-
fs/netfs/io.c | 2 +-
fs/netfs/misc.c | 2 +-
fs/smb/client/file.c | 10 +++++-----
include/trace/events/afs.h | 25 +++++++++++++++++++++++++
12 files changed, 79 insertions(+), 42 deletions(-)