diff options
author | Sachin Prabhu <sprabhu@redhat.com> | 2012-03-23 14:40:56 -0400 |
---|---|---|
committer | Jeff Layton <jlayton@redhat.com> | 2012-03-23 14:40:56 -0400 |
commit | 8830d7e07a5e38bc47650a7554b7c1cfd49902bf (patch) | |
tree | 278232f4b1546137f94c19789f01b6d1e8946507 /scripts/Lindent | |
parent | 27ac5755aee0c99b9148ccceccb800270b9e5628 (diff) |
cifs: use standard token parser for mount options
Use the standard token parser instead of the long if condition to parse
cifs mount options.
This was first proposed by Scott Lovenberg
http://lists.samba.org/archive/linux-cifs-client/2010-May/006079.html
Mount options have been grouped together in terms of their input types.
Aliases for username, password, domain and credentials have been added.
The password parser has been modified to make it easier to read.
Since the patch was first proposed, the following bugs have been fixed
1) Allow blank 'pass' option to be passed by the cifs mount helper when
using sec=none.
2) Do not explicitly set vol->nullauth to 0. This causes a problem
when using sec=none while also using a username.
Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
Diffstat (limited to 'scripts/Lindent')
0 files changed, 0 insertions, 0 deletions