]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit42a6e540eb9584c4fe22a653e280f8e4d46cef0f
tree19767fc3d3b0ae4ccb5245b3121d9dec3e585f39
parent5a1c2faa9cd72f44026ab94ca145577aeb3beb8c
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