linux-stable/fs/nfsd
Steven Rostedt (Google) 5391d85854 NFSD: Fix nfsd_clid_class use of __string_len() macro
[ Upstream commit 9388a2aa45 ]

I'm working on restructuring the __string* macros so that it doesn't need
to recalculate the string twice. That is, it will save it off when
processing __string() and the __assign_str() will not need to do the work
again as it currently does.

Currently __string_len(item, src, len) doesn't actually use "src", but my
changes will require src to be correct as that is where the __assign_str()
will get its value from.

The event class nfsd_clid_class has:

  __string_len(name, name, clp->cl_name.len)

But the second "name" does not exist and causes my changes to fail to
build. That second parameter should be: clp->cl_name.data.

Link: https://lore.kernel.org/linux-trace-kernel/20240222122828.3d8d213c@gandalf.local.home

Cc: Neil Brown <neilb@suse.de>
Cc: Olga Kornievskaia <kolga@netapp.com>
Cc: Dai Ngo <Dai.Ngo@oracle.com>
Cc: Tom Talpey <tom@talpey.com>
Cc: stable@vger.kernel.org
Fixes: d27b74a867 ("NFSD: Use new __string_len C macros for nfsd_clid_class")
Acked-by: Chuck Lever <chuck.lever@oracle.com>
Acked-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-04-03 15:32:24 +02:00
..
acl.h
auth.c cred: get rid of CONFIG_DEBUG_CREDENTIALS 2023-12-15 14:19:48 -08:00
auth.h
blocklayout.c nfsd: convert to new timestamp accessors 2023-10-18 14:08:24 +02:00
blocklayoutxdr.c
blocklayoutxdr.h
cache.h NFSD: Fix checksum mismatches in the duplicate reply cache 2023-11-17 15:13:01 -05:00
current_stateid.h
export.c vfs-6.7.fsid 2023-11-07 12:11:26 -08:00
export.h NFSD: Fix frame size warning in svc_export_parse() 2023-10-16 12:44:39 -04:00
filecache.c NFSD 6.8 Release Notes 2024-01-10 10:20:08 -08:00
filecache.h
flexfilelayout.c
flexfilelayoutxdr.c
flexfilelayoutxdr.h
idmap.h
Kconfig nfsd: new Kconfig option for legacy client tracking 2024-01-07 17:54:24 -05:00
lockd.c
Makefile
netlink.c
netlink.h
netns.h SUNRPC: discard sv_refcnt, and svc_get/svc_put 2024-01-07 17:54:33 -05:00
nfs2acl.c
nfs3acl.c
nfs3proc.c NFSD 6.7 Release Notes 2023-10-30 10:12:29 -10:00
nfs3xdr.c
nfs4acl.c
nfs4callback.c NFSv4, NFSD: move enum nfs_cb_opnum4 to include/linux/nfs4.h 2024-01-07 17:54:26 -05:00
nfs4idmap.c
nfs4layouts.c
nfs4proc.c NFSD: Modify NFSv4 to use nfsd_read_splice_ok() 2024-01-07 17:54:25 -05:00
nfs4recover.c nfsd: new Kconfig option for legacy client tracking 2024-01-07 17:54:24 -05:00
nfs4state.c nfsd: don't take fi_lock in nfsd_break_deleg_cb() 2024-02-05 09:49:47 -05:00
nfs4xdr.c NFSD: Modify NFSv4 to use nfsd_read_splice_ok() 2024-01-07 17:54:25 -05:00
nfscache.c NFSD: Remove nfsd_drc_gc() tracepoint 2024-01-07 17:54:25 -05:00
nfsctl.c misc cleanups (the part that hadn't been picked by individual fs trees) 2024-01-11 20:23:50 -08:00
nfsd.h nfsd: rename nfsd_last_thread() to nfsd_destroy_serv() 2024-01-07 17:54:33 -05:00
nfsfh.c
nfsfh.h
nfsproc.c
nfssvc.c nfsd: rename nfsd_last_thread() to nfsd_destroy_serv() 2024-01-07 17:54:33 -05:00
nfsxdr.c
pnfs.h
state.h NFSD: Revert 738401a9bd 2023-12-18 11:22:19 -05:00
stats.c NFSD: Rewrite synopsis of nfsd_percpu_counters_init() 2023-10-16 12:44:39 -04:00
stats.h NFSD: Fix frame size warning in svc_export_parse() 2023-10-16 12:44:39 -04:00
trace.c
trace.h NFSD: Fix nfsd_clid_class use of __string_len() macro 2024-04-03 15:32:24 +02:00
vfs.c fix directory locking scheme on rename 2024-01-11 20:00:22 -08:00
vfs.h NFSD: Replace RQ_SPLICE_OK in nfsd_read() 2024-01-07 17:54:25 -05:00
xdr.h
xdr3.h
xdr4.h NFSD: Modify NFSv4 to use nfsd_read_splice_ok() 2024-01-07 17:54:25 -05:00
xdr4cb.h NFSD: Revert 738401a9bd 2023-12-18 11:22:19 -05:00