]> git.baikalelectronics.ru Git - kernel.git/commit
cifs: simplify handling of cifs_sb/ctx->local_nls
authorRonnie Sahlberg <lsahlber@redhat.com>
Mon, 14 Dec 2020 06:40:20 +0000 (16:40 +1000)
committerSteve French <stfrench@microsoft.com>
Mon, 14 Dec 2020 15:26:30 +0000 (09:26 -0600)
commitf45375a8d7651ee5286fc11b9986f614a64274ad
tree808eac5e8e9b9b574f6522c3f3e167b691b6cf87
parenta238450dfa52b75bc49361658da56067d61ecf21
cifs: simplify handling of cifs_sb/ctx->local_nls

Only load/unload local_nls from cifs_sb and just make the ctx
contain a pointer to cifs_sb->ctx.

Signed-off-by: Ronnie Sahlberg <lsahlber@redhat.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/cifsproto.h
fs/cifs/connect.c
fs/cifs/fs_context.c
fs/cifs/fs_context.h
fs/cifs/sess.c