cifs: Properly handle auto disabling of serverino option
authorPaulo Alcantara (SUSE) <paulo@paulo.ac>
Tue, 18 Jun 2019 19:16:02 +0000 (16:16 -0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 16 Sep 2019 06:22:17 +0000 (08:22 +0200)
commit987564c28e8aec5cf161bf90fc4e616ae8839f33
tree3d466a998de0511fc26f4835849772a8b7f91ea5
parentd85e830d8534d3696c9c55e0d15089e9e91cb9ff
cifs: Properly handle auto disabling of serverino option

[ Upstream commit 29fbeb7a908a60a5ae8c50fbe171cb8fdcef1980 ]

Fix mount options comparison when serverino option is turned off later
in cifs_autodisable_serverino() and thus avoiding mismatch of new cifs
mounts.

Cc: stable@vger.kernel.org
Signed-off-by: Paulo Alcantara (SUSE) <paulo@paulo.ac>
Signed-off-by: Steve French <stfrench@microsoft.com>
Reviewed-by: Pavel Shilovsky <pshilove@microsoft.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
fs/cifs/cifs_fs_sb.h
fs/cifs/connect.c
fs/cifs/misc.c