OSDN Git Service

SMB3: passthru query info doesn't check for SMB3 FSCTL passthru
authorSteve French <stfrench@microsoft.com>
Wed, 13 Mar 2019 07:40:07 +0000 (02:40 -0500)
committerSteve French <stfrench@microsoft.com>
Fri, 15 Mar 2019 00:32:36 +0000 (19:32 -0500)
commit31ba4331d571f501fb32ae072478787e77baf52a
tree19767fc3d3b0ae4ccb5245b3121d9dec3e585f39
parent779ede040dd491acdb076ed9660d7160228949fd
SMB3: passthru query info doesn't check for SMB3 FSCTL passthru

The passthrough queries from user space tools like smbinfo can be either
SMB3 QUERY_INFO or SMB3 FSCTL, but we are not checking for the latter.
Temporarily we return EOPNOTSUPP for SMB3 FSCTL passthrough requests
but once compounding fsctls is fixed can enable.

Signed-off-by: Steve French <stfrench@microsoft.com>
Reviewed-by: Ronnie Sahlberg <lsahlber@redhat.com>
fs/cifs/cifs_ioctl.h
fs/cifs/smb2ops.c