disabling oplocks/leases via module parm enable_oplocks broken for SMB3
authorSteve French <smfrench@gmail.com>
Tue, 22 Sep 2015 14:29:38 +0000 (09:29 -0500)
committerSteve French <smfrench@gmail.com>
Tue, 22 Sep 2015 20:23:57 +0000 (15:23 -0500)
commite0ddde9d44e37fbc21ce893553094ecf1a633ab5
tree8b2c0c2acf0542c529fc6263940c47d2c8e843e3
parentbcee19f424a0d8c26ecf2607b73c690802658b29
disabling oplocks/leases via module parm enable_oplocks broken for SMB3

leases (oplocks) were always requested for SMB2/SMB3 even when oplocks
disabled in the cifs.ko module.

Signed-off-by: Steve French <steve.french@primarydata.com>
Reviewed-by: Chandrika Srinivasan <chandrika.srinivasan@citrix.com>
CC: Stable <stable@vger.kernel.org>
fs/cifs/smb2ops.c