cifs: add server param
authorAurelien Aptel <aaptel@suse.com>
Fri, 20 Sep 2019 04:08:34 +0000 (06:08 +0200)
committerSteve French <stfrench@microsoft.com>
Mon, 25 Nov 2019 07:16:30 +0000 (01:16 -0600)
commitf780bd3fef17c4fda12e9c50e28e91c0e18cf448
tree059a7ac2bd85366b25652daeacc5f5bf96c63c28
parentbcc8880115bcb36bc281c7f4895a12b51569d8d4
cifs: add server param

As we get down to the transport layer, plenty of functions are passed
the session pointer and assume the transport to use is ses->server.

Instead we modify those functions to pass (ses, server) so that we
can decouple the session from the server.

Signed-off-by: Aurelien Aptel <aaptel@suse.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/cifsglob.h
fs/cifs/cifsproto.h
fs/cifs/smb2proto.h
fs/cifs/smb2transport.c
fs/cifs/transport.c