]> 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)
commit6d81468e78ae2a858656d35c3aa4176712e5aef4
tree95c0122bf8be45daca88894bf8594366d73ce4f7
parentec8560e4a787ab997f157d9bab3b657fa714ba90
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: 17112b502976 ("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