[PATCH v1 0/2] NFS: fix RCU and tracing pointer safety

From: Sean Chang

Date: Wed Apr 08 2026 - 12:15:15 EST


This series addresses two Sparse static analysis warnings in the NFS
client.

The first patch fixes an RCU-unsafe dereference when comparing
superblock addresses by adding the necessary RCU read lock and
dereference wrappers.

The second patch resolves a "noderef" warning in the tracing
infrastructure by changing a pointer field to an unsigned long,
ensuring we aren't incorrectly marking private trace-buffer
pointers as dereferenceable.

Sean Chang (2):
NFS: fix RCU safety in nfs_compare_super_address
NFS: use unsigned long for req field in nfs_page_class

fs/nfs/nfstrace.h | 6 +++---
fs/nfs/super.c | 32 ++++++++++++++++++++++----------
2 files changed, 25 insertions(+), 13 deletions(-)

--
2.34.1