disabling oplocks/leases via module parm enable_oplocks broken for SMB3

[ Upstream commit e0ddde9d44 ]

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>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
This commit is contained in:
Steve French 2015-09-22 09:29:38 -05:00 • committed by Sasha Levin
commit 4409cd1890