]> git.ipfire.org Git - thirdparty/linux.git/commit - fs/cifs/smb2ops.c
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)
commit63a83b861c47dba9e0f46b98423723a6a3d97fb1
tree95c0122bf8be45daca88894bf8594366d73ce4f7
parentb327a717e506980399464e304e363f94f95eb7a1
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: 9d49640a21bf ("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