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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 22 Oct 2015 21:37:51 +0000 (14:37 -0700)
commit10ff4a0ca662575c9815b0bc6553d3f263efc24d
treeaa0ba96eb2f12698b49bd471dceb389c857e23a3
parent6709d8bdf704a67f8930374fd001d79eb4f1f41b
disabling oplocks/leases via module parm enable_oplocks broken for SMB3

commit e0ddde9d44e37fbc21ce893553094ecf1a633ab5 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/cifs/smb2ops.c