]> git.baikalelectronics.ru Git - kernel.git/commit
CIFS: use tcon_ipc instead of use_ipc parameter of SMB2_ioctl
authorAurelien Aptel <aaptel@suse.com>
Wed, 24 Jan 2018 12:46:11 +0000 (13:46 +0100)
committerSteve French <smfrench@gmail.com>
Fri, 26 Jan 2018 23:03:00 +0000 (17:03 -0600)
commitd99b745df2a6c5eb2d1f18338e19fe8c7dfb4d74
tree95c0122bf8be45daca88894bf8594366d73ce4f7
parenta1dcbb6fa8955a39641f136af38ce597b19ee93f
CIFS: use tcon_ipc instead of use_ipc parameter of SMB2_ioctl

Since IPC now has a tcon object, the caller can just pass it. This
allows domain-based DFS requests to work with smb2+.

Link: https://bugzilla.samba.org/show_bug.cgi?id=12917
Fixes: dc130ceb7e1b ("CIFS: implement get_dfs_refer for SMB2+")
Signed-off-by: Aurelien Aptel <aaptel@suse.com>
Signed-off-by: Steve French <smfrench@gmail.com>
Reviewed-by: Pavel Shilovsky <pshilov@microsoft.com>
fs/cifs/smb2file.c
fs/cifs/smb2ops.c
fs/cifs/smb2pdu.c
fs/cifs/smb2proto.h