]> git.baikalelectronics.ru Git - kernel.git/commit
cifs: returning mount parm processing errors correctly
authorSteve French <stfrench@microsoft.com>
Thu, 28 Jan 2021 22:43:03 +0000 (16:43 -0600)
committerSteve French <stfrench@microsoft.com>
Thu, 28 Jan 2021 22:43:03 +0000 (16:43 -0600)
commita6cab91964c15903a3a32f40f8e4d4611fb579a1
treec547ea7ea7b27ea68a48c02f416481bffed58cb5
parent6419065c1847e65d8eb5591f1a080bbf70f89eb5
cifs: returning mount parm processing errors correctly

During additional testing of the updated cifs.ko with the
new mount API support, we found a few additional cases where
we were logging errors, but not returning them to the user.

For example:
   a) invalid security mechanisms
   b) invalid cache options
   c) unsupported rdma
   d) invalid smb dialect requested

Fixes: 84e70c69068d ("cifs: switch to new mount api")
Acked-by: Ronnie Sahlberg <lsahlber@redhat.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/fs_context.c