]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
cifs: #include cifsglob.h before trace.h to allow structs in tracepoints
authorDavid Howells <dhowells@redhat.com>
Mon, 20 Oct 2025 09:16:07 +0000 (10:16 +0100)
committerSteve French <stfrench@microsoft.com>
Thu, 23 Oct 2025 07:47:20 +0000 (02:47 -0500)
commit64c9471aa9ded2440bf182b1c71d3f93f80b2f85
tree72d74bf0477abe02990c5d557795dc8e278b567d
parent4b1d7f62225a2fd024b2df5675515557169f17e7
cifs: #include cifsglob.h before trace.h to allow structs in tracepoints

Make cifs #include cifsglob.h in advance of #including trace.h so that the
structures defined in cifsglob.h can be accessed directly by the cifs
tracepoints rather than the callers having to manually pass in the bits and
pieces.

This should allow the tracepoints to be made more efficient to use as well
as easier to read in the code.

Signed-off-by: David Howells <dhowells@redhat.com>
cc: Paulo Alcantara <pc@manguebit.org>
cc: linux-cifs@vger.kernel.org
cc: linux-fsdevel@vger.kernel.org
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/smb/client/cifsproto.h
fs/smb/client/trace.c