]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
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)
committerKhalid Elmously <khalid.elmously@canonical.com>
Thu, 26 Sep 2019 04:34:52 +0000 (00:34 -0400)
commitd9167e38ea4c46b3ff69e4b8e7974c6b0fa9b3c6
tree6b929d12adbc8f7df89e5139eb62460a4b3e36f8
parentaf32295e69528da90f254a5c10d79385c91a2a31
cifs: Properly handle auto disabling of serverino option

BugLink: https://bugs.launchpad.net/bugs/1844558
[ 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>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
fs/cifs/cifs_fs_sb.h
fs/cifs/connect.c
fs/cifs/misc.c