Commit 427c4f00 authored by Dmitry Osipenko's avatar Dmitry Osipenko Committed by Steve French

cifs: Add missing sentinel to smb3_fs_parameters

Add missing sentinel to smb3_fs_parameters. This fixes ARM32 kernel
crashing once CIFS is registered.

 Unable to handle kernel paging request at virtual address 33626d73
...
 (strcmp) from (fs_validate_description)
 (fs_validate_description) from (register_filesystem)
 (register_filesystem) from (init_cifs [cifs])
 (init_cifs [cifs]) from (do_one_initcall)
 (do_one_initcall) from (do_init_module)
 (do_init_module) from (load_module)
 (load_module) from (sys_finit_module)
 (sys_finit_module) from (ret_fast_syscal)

Fixes: e07724d1cf38 ("cifs: switch to new mount api")
Signed-off-by: default avatarDmitry Osipenko <digetx@gmail.com>
Reviewed-by: default avatarAurelien Aptel <aaptel@suse.com>
Signed-off-by: default avatarSteve French <stfrench@microsoft.com>
parent 121d947d
...@@ -173,6 +173,7 @@ const struct fs_parameter_spec smb3_fs_parameters[] = { ...@@ -173,6 +173,7 @@ const struct fs_parameter_spec smb3_fs_parameters[] = {
fsparam_flag_no("mand", Opt_ignore), fsparam_flag_no("mand", Opt_ignore),
fsparam_string("cred", Opt_ignore), fsparam_string("cred", Opt_ignore),
fsparam_string("credentials", Opt_ignore), fsparam_string("credentials", Opt_ignore),
{}
}; };
int int
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment