From: Stefan Metzmacher <metze@samba.org>
To: linux-cifs@vger.kernel.org, samba-technical@lists.samba.org
Cc: metze@samba.org, Steve French <smfrench@gmail.com>,
Tom Talpey <tom@talpey.com>, Long Li <longli@microsoft.com>,
Namjae Jeon <linkinjeon@kernel.org>,
Christoph Hellwig <hch@infradead.org>
Subject: [PATCH 0/2] smb: smbdirect: symbol export and header cleanups
Date: Wed, 29 Apr 2026 15:43:34 +0200 [thread overview]
Message-ID: <cover.1777463800.git.metze@samba.org> (raw)
Hi,
as suggested by Christoph here:
https://lore.kernel.org/linux-cifs/aehrPuY60VMcYGU8@infradead.org/
I've moved to use DEFAULT_SYMBOL_NAMESPACE and EXPORT_SYMBOL_GPL
for the smbdirect symbols. This actually fixes a problem
with out of tree builds.
And I've created a include/linux/smbdirect.h
which also make out of tree builds for cifs.ko
and ksmbd.ko easier.
Stefan Metzmacher (2):
smb: smbdirect: make use of DEFAULT_SYMBOL_NAMESPACE and
EXPORT_SYMBOL_GPL
smb: smbdirect: introduce and use include/linux/smbdirect.h
MAINTAINERS | 1 +
fs/smb/client/smbdirect.c | 3 +-
fs/smb/client/smbdirect.h | 2 +-
fs/smb/server/transport_rdma.c | 3 +-
fs/smb/server/transport_rdma.h | 2 +-
fs/smb/smbdirect/accept.c | 2 +-
fs/smb/smbdirect/connect.c | 4 +-
fs/smb/smbdirect/connection.c | 16 +++---
fs/smb/smbdirect/debug.c | 2 +-
fs/smb/smbdirect/devices.c | 2 +-
fs/smb/smbdirect/internal.h | 4 +-
fs/smb/smbdirect/listen.c | 2 +-
fs/smb/smbdirect/mr.c | 6 +--
fs/smb/smbdirect/rw.c | 2 +-
fs/smb/smbdirect/smbdirect.h | 52 -------------------
fs/smb/smbdirect/socket.c | 20 +++----
.../public.h => include/linux/smbdirect.h | 52 ++++++++++++++++---
17 files changed, 82 insertions(+), 93 deletions(-)
delete mode 100644 fs/smb/smbdirect/smbdirect.h
rename fs/smb/smbdirect/public.h => include/linux/smbdirect.h (76%)
--
2.43.0
next reply other threads:[~2026-04-29 13:43 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-04-29 13:43 Stefan Metzmacher [this message]
2026-04-29 13:43 ` [PATCH 1/2] smb: smbdirect: make use of DEFAULT_SYMBOL_NAMESPACE and EXPORT_SYMBOL_GPL Stefan Metzmacher
2026-04-29 13:43 ` [PATCH 2/2] smb: smbdirect: introduce and use include/linux/smbdirect.h Stefan Metzmacher
2026-04-29 22:16 ` [PATCH 0/2] smb: smbdirect: symbol export and header cleanups Namjae Jeon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1777463800.git.metze@samba.org \
--to=metze@samba.org \
--cc=hch@infradead.org \
--cc=linkinjeon@kernel.org \
--cc=linux-cifs@vger.kernel.org \
--cc=longli@microsoft.com \
--cc=samba-technical@lists.samba.org \
--cc=smfrench@gmail.com \
--cc=tom@talpey.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox