OSDN Git Service

cifs: populate server_hostname for extra channels
authorShyam Prasad N <sprasad@microsoft.com>
Fri, 19 Nov 2021 13:04:11 +0000 (13:04 +0000)
committerSteve French <stfrench@microsoft.com>
Tue, 23 Nov 2021 16:05:39 +0000 (10:05 -0600)
commit5112d80c162f456b3956dd4f5c58e9f0c6498516
tree01b4d97b83778e164f18ae103af19d94e4405208
parentb9ad6b5b687e798746024e5fc4574d8fa8bdfade
cifs: populate server_hostname for extra channels

Recently, a new field got added to the smb3_fs_context struct
named server_hostname. While creating extra channels, pick up
this field from primary channel.

Signed-off-by: Shyam Prasad N <sprasad@microsoft.com>
Reviewed-by: Paulo Alcantara (SUSE) <pc@cjr.nz>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/sess.c