[PATCH 0/2] nfsd: fix up some sparse warnings

From: Jeff Layton

Date: Mon Aug 03 2026 - 11:13:45 EST


The first patch should fix the sparse warning that the KTR noticed last
week. I also took the opportunity to add a comment over the weird xdr
stream (ab)use we're doing there.

The second patch just fixes up a sparse warning that I noticed.

Signed-off-by: Jeff Layton <jlayton@xxxxxxxxxx>
---
Jeff Layton (2):
nfsd: fix type mismatch and explain host-endian xdr buffer usage
nfsd: fix nfserr type in nfsd_lookup_dentry()

fs/nfsd/nfs4xdr.c | 11 ++++++++---
fs/nfsd/vfs.c | 2 +-
2 files changed, 9 insertions(+), 4 deletions(-)
---
base-commit: 106c31f3d72c56fce98bb2f0e8b3de1a0024228d
change-id: 20260803-dir-deleg-1774f5da07e0

Best regards,
--
Jeff Layton <jlayton@xxxxxxxxxx>