Linux CIFS filesystem development
 help / color / mirror / Atom feed
* [PATCH 0/2] smb: smbdirect: symbol export and header cleanups
@ 2026-04-29 13:43 Stefan Metzmacher
  2026-04-29 13:43 ` [PATCH 1/2] smb: smbdirect: make use of DEFAULT_SYMBOL_NAMESPACE and EXPORT_SYMBOL_GPL Stefan Metzmacher
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Stefan Metzmacher @ 2026-04-29 13:43 UTC (permalink / raw)
  To: linux-cifs, samba-technical
  Cc: metze, Steve French, Tom Talpey, Long Li, Namjae Jeon,
	Christoph Hellwig

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-04-29 22:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-29 13:43 [PATCH 0/2] smb: smbdirect: symbol export and header cleanups Stefan Metzmacher
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox