Skip to content

cifs: fix charset issue in reconnection

Winston Wen linux-cifs linux-fsdevel 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/2fs/nls: make load_nls() take a const parameterfs/nls/nls_base.c include/linux/nls.h+3 -31 reply
2/2cifs: fix charset issue in reconnectionfs/smb/client/cifsglob.h fs/smb/client/cifssmb.c fs/smb/client/connect.c +2 more+9 -40 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchPaulo AlcantaraChristian Brauner
1/2R-b R-b
2/2R-b

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] cifs: fix charset issue in reconnection

The patch 1 make load_nls() take a const char * as parameter so we can reuse a nls's name without cast:

    ses->local_nls = load_nls(ctx->local_nls->charset);

The patch 2 do the charset fix in cifs.

--
Winston Wen (2):
fs/nls: make load_nls() take a const parameter
cifs: fix charset issue in reconnection

 fs/nls/nls_base.c        | 4 ++--
 fs/smb/client/cifsglob.h | 1 +
 fs/smb/client/cifssmb.c  | 3 +--
 fs/smb/client/connect.c  | 5 +++++
 fs/smb/client/misc.c     | 1 +
 fs/smb/client/smb2pdu.c  | 3 +--
 include/linux/nls.h      | 2 +-
 7 files changed, 12 insertions(+), 7 deletions(-)