summaryrefslogtreecommitdiff
path: root/fs/autofs/init.c
diff options
context:
space:
mode:
authorShyam Prasad N <sprasad@microsoft.com>2023-11-06 16:22:11 +0000
committerSteve French <stfrench@microsoft.com>2023-11-09 10:25:21 -0600
commit9599d59eb8fc0c0fd9480c4f22901533d08965ee (patch)
treeff5624b3259a70b001d7661db42034c698d12fca /fs/autofs/init.c
parentfa1d0508bdd4a68c5e40f85f635712af8c12f180 (diff)
cifs: do not pass cifs_sb when trying to add channels
The only reason why cifs_sb gets passed today to cifs_try_adding_channels is to pass the local_nls field for the new channels and binding session. However, the ses struct already has local_nls field that is setup during the first cifs_setup_session. So there is no need to pass cifs_sb. This change removes cifs_sb from the arg list for this and the functions that it calls and uses ses->local_nls instead. Cc: stable@vger.kernel.org Signed-off-by: Shyam Prasad N <sprasad@microsoft.com> Reviewed-by: Paulo Alcantara (SUSE) <pc@manguebit.com> Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/autofs/init.c')
0 files changed, 0 insertions, 0 deletions