File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -170,6 +170,7 @@ const struct fs_parameter_spec smb3_fs_parameters[] = {
170170 fsparam_string ("username" , Opt_user ),
171171 fsparam_string ("pass" , Opt_pass ),
172172 fsparam_string ("password" , Opt_pass ),
173+ fsparam_string ("pass2" , Opt_pass2 ),
173174 fsparam_string ("password2" , Opt_pass2 ),
174175 fsparam_string ("ip" , Opt_ip ),
175176 fsparam_string ("addr" , Opt_ip ),
@@ -1073,6 +1074,9 @@ static int smb3_fs_context_parse_param(struct fs_context *fc,
10731074 } else if (!strcmp ("user" , param -> key ) || !strcmp ("username" , param -> key )) {
10741075 skip_parsing = true;
10751076 opt = Opt_user ;
1077+ } else if (!strcmp ("pass2" , param -> key ) || !strcmp ("password2" , param -> key )) {
1078+ skip_parsing = true;
1079+ opt = Opt_pass2 ;
10761080 }
10771081 }
10781082
You can’t perform that action at this time.
0 commit comments