]> git.baikalelectronics.ru Git - kernel.git/commit
cifs: handle "nolease" option for vers=1.0
authorKenneth D'souza <kdsouza@redhat.com>
Mon, 18 May 2020 07:31:34 +0000 (13:01 +0530)
committerSteve French <stfrench@microsoft.com>
Mon, 1 Jun 2020 05:10:17 +0000 (00:10 -0500)
commit4c827385d8850e8020f456b30069e7ffb252ad75
tree3653d543b948323eb5da0a61447bc64a89a89ac3
parent1d9eba4def0400011c61f60ce3444718b44c8bbf
cifs: handle "nolease" option for vers=1.0

The "nolease" mount option is only supported for SMB2+ mounts.
Fail with appropriate error message if vers=1.0 option is passed.

Signed-off-by: Kenneth D'souza <kdsouza@redhat.com>
Reviewed-by: Pavel Shilovsky <pshilov@microsoft.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/connect.c