Skip to content

smb: smbdirect: symbol export and header cleanups

Stefan Metzmacher linux-cifs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2smb: smbdirect: make use of DEFAULT_SYMBOL_NAMESPACE and EXPORT_SYMBOL_GPLfs/smb/client/smbdirect.c fs/smb/server/transport_rdma.c fs/smb/smbdirect/accept.c +10 more+33 -300 replies
2/2smb: smbdirect: introduce and use include/linux/smbdirect.hMAINTAINERS fs/smb/client/smbdirect.c fs/smb/client/smbdirect.h +5 more+49 -630 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchNamjae Jeon
SeriesA-b
1/2
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] smb: smbdirect: symbol export and header cleanups

Hi,

as suggested by Christoph here:
https://lore.kernel.org/linux-cifs/[email protected]/

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%)
Signature · 1 line
2.43.0