diff options
author | Steve French <stfrench@microsoft.com> | 2018-11-03 15:02:44 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-12-21 14:15:23 +0100 |
commit | b5a8028c25f3f3c3bbbe09646fe331a570189cbf (patch) | |
tree | 5413c2e577281fc404c999ec4b3a7baa9b64bde5 /fs/cifs | |
parent | e6a5c4948c2c6c8a288bf88b7937740d840c9d5e (diff) | |
download | linux-stable-b5a8028c25f3f3c3bbbe09646fe331a570189cbf.tar.gz linux-stable-b5a8028c25f3f3c3bbbe09646fe331a570189cbf.tar.bz2 linux-stable-b5a8028c25f3f3c3bbbe09646fe331a570189cbf.zip |
cifs: In Kconfig CONFIG_CIFS_POSIX needs depends on legacy (insecure cifs)
[ Upstream commit 6e785302dad32228819d8066e5376acd15d0e6ba ]
Missing a dependency. Shouldn't show cifs posix extensions
in Kconfig if CONFIG_CIFS_ALLOW_INSECURE_DIALECTS (ie SMB1
protocol) is disabled.
Signed-off-by: Steve French <stfrench@microsoft.com>
Reviewed-by: Pavel Shilovsky <pshilov@microsoft.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'fs/cifs')
-rw-r--r-- | fs/cifs/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/Kconfig b/fs/cifs/Kconfig index abcd78e332fe..85dadb93c992 100644 --- a/fs/cifs/Kconfig +++ b/fs/cifs/Kconfig @@ -133,7 +133,7 @@ config CIFS_XATTR config CIFS_POSIX bool "CIFS POSIX Extensions" - depends on CIFS_XATTR + depends on CIFS && CIFS_ALLOW_INSECURE_LEGACY && CIFS_XATTR help Enabling this option will cause the cifs client to attempt to negotiate a newer dialect with servers, such as Samba 3.0.5 |