SMB3: Add handling for different FSCTL access flags
authorSteve French <stfrench@microsoft.com>
Thu, 11 Apr 2019 18:53:17 +0000 (13:53 -0500)
committerSteve French <stfrench@microsoft.com>
Wed, 8 May 2019 04:24:55 +0000 (23:24 -0500)
commit46e6661963fb5d55952b550f0716bda22e10f1ae
tree10053084f0892547aed2b2881f3bf96052f42033
parentefac779b1c69670ed1e5ab84123ccc2c14e082f0
SMB3: Add handling for different FSCTL access flags

DesiredAccess field in SMB3 open request needs
to be set differently for READ vs. WRITE ioctls
(not just ones that request both).

Originally noticed by Pavel

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