mount.cifs: clean up command-line options
authorJeff Layton <jlayton@redhat.com>
Thu, 1 Apr 2010 19:19:16 +0000 (15:19 -0400)
committerJeff Layton <jlayton@redhat.com>
Thu, 1 Apr 2010 19:19:16 +0000 (15:19 -0400)
commitf81576e724f78f8a952555d889c81ca75ac64fee
tree13d91c200d5ccbf4dc1af8bce3ec1f3944e6ad5a
parent0f42bd90d13afb3e6cf1c842f0b70f8b65960d1f
mount.cifs: clean up command-line options

The mount.cifs command apparently tries to take a ton of command-line
options. Many of these will never be passed to mount.cifs by /bin/mount.
Others are more appropriately specified as mount options.

In both cases, there are a lot of options in the switch statement that
are not listed in the optstring, and there are characters in the
optstring that are not dealt with by the switch statement. Other options
are poorly wired to the rest of the code and don't actually do anything.

Clean it up by removing all but the ones that are likely to ever be
used.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
mount.cifs.c