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>
Fri, 26 Jul 2019 07:12:54 +0000 (09:12 +0200)
commitc0fcf57679ec80a83c5b752f1e1e96019c81ba4d
tree7551f5539d89312355d6188069806d5945c9a7b6
parent85324afd88d08447d5e2de1aa924f17f9f157349
cifs: Properly handle auto disabling of serverino option

commit 29fbeb7a908a60a5ae8c50fbe171cb8fdcef1980 upstream.

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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/cifs/cifs_fs_sb.h
fs/cifs/connect.c
fs/cifs/misc.c