mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
cifs: make sure we ignore the credentials= and cred= options
Older mount.cifs programs passed this on to the kernel after parsing
the file. Make sure the kernel ignores that option.
Should fix:
https://bugzilla.kernel.org/show_bug.cgi?id=43195
Cc: Sachin Prabhu <[email protected]>
Reported-by: Ronald <[email protected]>
Signed-off-by: Jeff Layton <[email protected]>
Signed-off-by: Steve French <[email protected]>
This commit is contained in:
parent
f966424e99
commit
a557b97616
1 changed files with 2 additions and 0 deletions
|
|
@ -215,6 +215,8 @@ static const match_table_t cifs_mount_option_tokens = {
|
|||
|
||||
{ Opt_ignore, "cred" },
|
||||
{ Opt_ignore, "credentials" },
|
||||
{ Opt_ignore, "cred=%s" },
|
||||
{ Opt_ignore, "credentials=%s" },
|
||||
{ Opt_ignore, "guest" },
|
||||
{ Opt_ignore, "rw" },
|
||||
{ Opt_ignore, "ro" },
|
||||
|
|
|
|||
Loading…
Reference in a new issue