Improvement and fixes for command line options
Subsystems (2)
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): 1479495292-709-1-git-send-email-germano.percossi-Sxgqhf6Nn4DQT0dZR+AlfA@public.gmane.org
Quoted 12 lines · Germano Percossi
The way command line parsing for mount is done, is not aligned with the corresponding kernel module.
Options checking is not strict, some options the cifs module accepts are not honoured, others are accepted (and converted) even though they are not documented nor otherwise accepted in the cifs module.
Moreover, it is not possible to send an empty domain without receiving an error, while the cifs module treats the 2 cases slightly differently.
The other 2 patches are trivial
Quoted 9 lines
Germano Percossi (4):
[cifs-utils] Removed extra comma in front of domain [cifs-utils] Accept empty domains on the command line [cifs-utils] Fixed command line parsing and aligned with kernel [cifs-utils] Remove unneeded stdbool header in mount.cifsmount.cifs.c | 100 +++++++++++++++++++++++++++++++++++------------------------ 1 file changed, 60 insertions(+), 40 deletions(-)
Thanks. Patches 1, 3 and 4 look fine. I'm not quite sold yet on #2 though since I'm a little unclear on when you'd want to do either.
Either way, it would also be nice to flesh out the domain= section of the mount.cifs manpage as well. It's a little thin...
Thanks,
Signature · 1 line
Jeff Layton <[email protected]>
A message that is not in the archive (sent off-list or not yet received): [email protected]
Hi Jeff,
If you are OK with my explanation about patch 2 I can send a fifth one with the requested documentation.
Thanks,
Germano
Quoted 31 lines · Jeff Layton
Quoted 12 lines · Germano Percossi
The way command line parsing for mount is done, is not aligned with the corresponding kernel module.
Options checking is not strict, some options the cifs module accepts are not honoured, others are accepted (and converted) even though they are not documented nor otherwise accepted in the cifs module.
Moreover, it is not possible to send an empty domain without receiving an error, while the cifs module treats the 2 cases slightly differently.
The other 2 patches are trivial
Quoted 9 lines
Germano Percossi (4):
[cifs-utils] Removed extra comma in front of domain [cifs-utils] Accept empty domains on the command line [cifs-utils] Fixed command line parsing and aligned with kernel [cifs-utils] Remove unneeded stdbool header in mount.cifsmount.cifs.c | 100 +++++++++++++++++++++++++++++++++++------------------------ 1 file changed, 60 insertions(+), 40 deletions(-)Thanks. Patches 1, 3 and 4 look fine. I'm not quite sold yet on #2 though since I'm a little unclear on when you'd want to do either.
Either way, it would also be nice to flesh out the domain= section of the mount.cifs manpage as well. It's a little thin...
Thanks,
A message that is not in the archive (sent off-list or not yet received): 967539c7-9e36-d8f6-7ab6-0fd910ae4817-Sxgqhf6Nn4DQT0dZR+AlfA@public.gmane.org
Quoted 8 lines · Germano Percossi
Hi Jeff,
If you are OK with my explanation about patch 2 I can send a fifth one with the requested documentation.
Thanks,
Germano
They look fine to me -- merged. They should make v6.7.
Once you get the kernel command-line options sorted out, then it'd be great if you could pass along a patch to the manpage as well.
Thanks,
Quoted 34 lines · Jeff Layton
Quoted 33 lines · Germano Percossi
Quoted 13 lines
The way command line parsing for mount is done, is not aligned with the corresponding kernel module.
Options checking is not strict, some options the cifs module accepts are not honoured, others are accepted (and converted) even though they are not documented nor otherwise accepted in the cifs module.
Moreover, it is not possible to send an empty domain without receiving an error, while the cifs module treats the 2 cases slightly differently.
The other 2 patches are trivial
Quoted 9 lines
Germano Percossi (4):
[cifs-utils] Removed extra comma in front of domain [cifs-utils] Accept empty domains on the command line [cifs-utils] Fixed command line parsing and aligned with kernel [cifs-utils] Remove unneeded stdbool header in mount.cifsmount.cifs.c | 100 +++++++++++++++++++++++++++++++++++------------------------ 1 file changed, 60 insertions(+), 40 deletions(-)Thanks. Patches 1, 3 and 4 look fine. I'm not quite sold yet on #2 though since I'm a little unclear on when you'd want to do either.
Either way, it would also be nice to flesh out the domain= section of the mount.cifs manpage as well. It's a little thin...
Thanks,
Signature · 1 line
Jeff Layton <[email protected]>