]> 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)
commit194a3fdf3f18fcbd8e4cf55c03a6c27438caa7a2
tree19767fc3d3b0ae4ccb5245b3121d9dec3e585f39
parent80c6b4c4826e93e293f93d70c23e5042f2e88625
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