[PATCH 0/4] netfs: Miscellaneous fixes

From: David Howells

Date: Sat Apr 11 2026 - 04:57:22 EST


Hi Christian,

Here are some miscellaneous fixes for netfslib:

(1) Fix triggering of a VM_BUG_ON_FOLIO() in netfs_write_begin().

(2) Fix error handling in netfs_extract_user_iter().

(3) Fix the dentry refcounting in cachefiles_cull().

(4) Fix netfs_invalidate_folio() to clear the page dirty bit if all dirty
data removed.

The patches can also be found here:

https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git/log/?h=netfs-fixes

Thanks,
David

David Howells (1):
netfs: Fix netfs_invalidate_folio() to clear dirty bit if all changes
gone

NeilBrown (1):
cachefiles: fix incorrect dentry refcount in cachefiles_cull()

Paulo Alcantara (1):
netfs: fix error handling in netfs_extract_user_iter()

Viacheslav Dubeyko (1):
netfs: fix VM_BUG_ON_FOLIO() issue in netfs_write_begin() call

fs/cachefiles/namei.c | 5 +++++
fs/netfs/iterator.c | 13 ++++++++++---
fs/netfs/misc.c | 6 +++++-
fs/netfs/read_retry.c | 11 +++++++++--
include/trace/events/netfs.h | 4 ++++
5 files changed, 33 insertions(+), 6 deletions(-)