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)
commit175b0ba31bc0d888c59fb859f9072ac436943ff2
tree01b4d97b83778e164f18ae103af19d94e4405208
parenta9db69860bcb0038d6cd8966bf3fd7251fe3a78c
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